You need to go into your BIOS/Setup as the PC starts (normally tap delete as the PC starts. Look through the pages and set the First Boot Device to CD. Also check if there is a virus checker and if so disadle it.
Now reboot with the XP cd in the cd drive and carry out a Repair install. click here