If there is a floppy disk in the floppy drive, or a CD in the CD Rom drive take them out.
If not then change boot order in BIOS to Boot from CD 1st then HDD.
Boot from XP CD to recovery consul
Using Recovery Consul
run chkdsk /f
followed by fixmbr
remove CD and see if the PC will boot from HDD