While it is booting up press F8 repeatedly (doesn't have to be fast). A boot menu will pop up and one of the options is "last known good configuration." Try this first.
If this still fails, if you have a windows XP boot disc, try putting it in and repairing XP.
This link should help
http://www.microsoft.com/windowsxp/u...ps/doug92.mspx