With the PC up and running, insert the XP CD. The CD will start and ask you if you want to install XP. You say yes. It'll then ask you if you want to do a repair install. You say yes. This repair install will not format the drive, just simply reinstall XP, leaving all your "stuff" intact, but repair XP.