"A blue screen with some error written on it".
That doesn't tell much. If your OS was Windows XP or Windows Vista I could have told you how to disable automatic restart after a blue screen (so you would have time to copy the details to paper and post them here) and I would have been able to tell you how to use Event Viewer to find out what Windows tells about the event.
But since you're running an experimental OS (the Windows 7 beta) you probably will have to find out yourself.
The only thing I can think of: heat. Physically clean the vents. Then try it in an environment that is at least 10 degrees (Celsius) cooler than the current environment and be sure it's placed on a solid flat interface (a desk or table), not on your lap or some soft underground.
Kees
someone pls help me............. my lappy automatically shutdown after using for about 3to 4 hrs.....gives a blue screen some error written on it
so what can i do.....my lappy is compaq pressario v6000 os-windows 7
pls help me to rectify this

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic