If you know how to enter the machine's BIOS, change the boot order to list the CD drive first. Then boot up as far as you can, open the CD drive, insert the disk, close the drive, then reboot.

How to perform a Windows XP Repair Install.

Beware, you 'may' lose some files programs and settings in the process.