Here is the problem:
I was using my computer it just froze and i turned it off then i restarted then i froze when it was loading(the WindowsXp logo). Then i tried starting it up on safe mode and it freezes.
I need help.
Thank you.

Safe mode basically means many non-core components are disabled. Thus you can narrow down the issue.

Have you installed any new hardware/software lately? :-/

Make sure you unplug all attached devices when trying to solve this issue

Do as Darren says. Unplug alla parts on Mother board, and also the RAm modules. Then try opening the computer with a ram module at a time. Then do the same thing for other attached devices to your motherboard.