>>394539614
It's not enough information. 
If you don't have enough information, you have to start diagnosing step by step.
Overheating is the most common culprit, especially if you are on laptop.

Open some software that lets you monitor temps (like hwinfo or hwmonitor) and try to induce a reboot.