Well it could be overheating. have you checked the temps? Open up the side and make sure ALL the fans are spinning - there should be at least one on the CPU and one in the back of the Powersupply.
You also need to provide a lot more info. For example what are the specs of the computer and what operating system are you running. Also does the computer restart, or completely turn off, or does the screen just go blank but the fans/lights stay on.
You also need to provide a lot more info. For example what are the specs of the computer and what operating system are you running. Also does the computer restart, or completely turn off, or does the screen just go blank but the fans/lights stay on.