LMAO^
Seriously though, either your Processor has something seriously wrong with it, or it may not be set into its socket properly. Or, your hard drive may have bad sectors. This mainly would mean that the computer would constantly hang after a short period of time after being turned on. The fact that it's rebooting is quite confusing though. Most likely you have a problem where your GFX card may be demanding too much power from your PSU which could result in the rest of the system restarting as it's not recieving sufficiant power. Mind giving me some of your system specs please? It would help alot in troubleshooting your problem.