Place your Windows XP CD in CD/DVD drive, and verify that the computer recognizes it by waiting for the AutoLoad to appear, or opening "My Computer" and seeing it in your CD/DVD drive.
Point and click your "Start" menu, and select "Run"
A box will appear that will prompt you for a command.
In the box that appears, type in:
The fix will now load, and will hopefully fix all of the corrupted files on your Windows XP drive.
If that does not fix it, you may want to try loading a repair image, or there could potentially be damage to your hard drive that is not fixable on a software level.
You could also attempt a defragment of your hard drive, as fragmentations of files can sometimes produce errors.