What are the hardware specifications of your computer? Which OS are you running?
Assuming it's Windows, will it boot successfully in Safe Mode? If so, go to the Event Viewer and look in the Event Logs - particularly the System Event log - for anything interesting. Also, go into the System Settings in Control Panel to turn off the automatic rebooting so that when it does crash you can note down what it says.