Can you get into Safe Mode?
Also the exact error code would be helpfull. Something like: 0x00000077
The master boot record might be infected with a virus.
Start scanning with your Antivirus. + run on line virus scans, from this links:
http://www.bitdefender.com/scan/licence.php
http://housecall.trendmicro.com/
http://www.windowsecurity.com/trojanscan/
+ download Spybot.
http://www.safer-networking.org/en/index.html
It also could be a faulty RAM memory stick.
Download Memory Test, and run it for a couple of hours.
http://www.memtest86.com/
Disable "System caching" in BIOS to see if this resolves the error.
Enter BIOS setup, by pressing the "Delete" key at bootup (or other key if indicated). Use the arrow keys to scroll.
When you have disabled "System caching". Save the settings in BIOS, before you exit.
Also run windows chkdsk.
start > run >
cmd
in the new window type
chkdsk/f
when prompted to run on boot choose
Y & reboot
this will check for & fix any disk errors.
If you cannot enter Safe Mode then you will need either your XP CD & or OEM recovery disk to enter the Recovery Console as a next step.