Were there any changes (hardware or software) made to the computer prior to the issue?
Place the computer in clean boot and check if it helps.
To help troubleshoot error messages and other issues, you can start
Windows XP by using a minimal set of drivers and startup programs. This kind of startup is known as a "clean boot." A clean boot helps eliminate software conflicts.