start your pc and hit F8. Select Last Known Good Configuration then enter. If doesn't work, start your pc in safe mode and use system restore. If still doesn't work, try recovery console. To use the Recovery Console, restart the computer with the installation CD for the operating system in the CD drive. When prompted during text-mode setup, press R to start the Recovery Console. From the Recovery Console, you can access the drives on your computer. You can then make any of the following changesso that you can start your computer:
Enable or disable device drivers or services.
Copy files from the installation CD for the operating system, or copy files from other removable media. For example, you can copy an essential file that had been deleted.
Create a new boot sector and new master boot record (MBR). You might need to do this if there are problems starting from the existing boot sector.
After all these attempts fail to recover your pc, then try use the automatic system recovery but you need to have a backup created by the automatic system recovery wizard and it's not available in XP home version. The last option you can do is reinstall your operating system then restore your data from a backup.