XP or Vista?
There is something in Control Panel - System - Advanced - StartUp and Recovery - Settings that you can verify, if there is a checkmark in Automatically Restart remove it.
You'll be able to see if there is a problem somewhere with your computer, rather than reboot it will probably show a BSOD (good for XP, don't know if it's the same in Vista).
Good Luck