Right click on My Computer and select properties.
Go to the advanced tab and select the settings button under Start Up and Recovery.
There is a tick box that says Automatically Restart. Make sure this is not ticked. It means that if your computer comes across a critical error it will actually display the error message and not just restart. If it does display an error message next time you'll be able to post it.