|At what point does it do that?|
It is no good providing no background information or circumstance in which the problem is manifesting.
How can you expect reasonable answers?
How do we know what is happening with your system?
We have no crystal ball.
So do tell us more about your fault and at what stage it is happening, what happens before you see what you are describing.
Do you or do you not have a windows XP CD?
Can you get into safe mode?
☺ When everything else fails, read the instructions.