When did this start?
Did XP ever boot correctly?
What is different since the last time it did boot correctly (new hw, sw, virus, error, etc)?
What type of system?
Have you run a diagnostic on your ram?
Have you recently flashed the bios?
Have you tried booting to the recovery console and running chkdsk /r