Start by testing the RAM.

If it passes, test the hard drive next.

If it passes, boot from a Windows XP CD (not floppy disk[s]) and install Windows XP.