Why does my screen go black and I have to turn it back on again?

ya444ya

Honorable
Aug 6, 2012
1
0
10,510
when I leave my computer screen and dont do anything it goes black the I have to restart even though the lights are still on ,I used to be able to touch any key and my screen would come back on.