What, if anything, do you think caused this problem? What was you doing at the time - playing a game etc.?
You may need to perform perform an in-place upgrade (reinstallation) of Windows XP. This knowledge base
article explains in detail how to do that.