Did it happen with you, your computer restart while playing games? There can be several reasons behind your computer restart automatically. You can follow the given suggestions if your PC goes into a reboot loop or restart automatically.
Reboot your system in safe mode to troubleshoot the error
Click the “Window start Icone”
Now, press the left shift key and hold it for a while
Restart the computer while holding the key
When you see the system starts rebooting, release the shift key.
Disable the Automatically Restart feature in your system
Go to settings or click on the System and Security option
Select System> Advanced system settings
Click on settings under the “Settings and recovery” option
Go to “System Failure”
Locate the Automatically disable option and uncheck it
Disable Fast Startup
Open Control Panel
Locate Hardware and Sound Hardware
Select Power Option> Choose what the power button does” > “Change settings that are currently unavailable”
Navigate “Turn on fast startup” under shutdown settings
Delete latest installed App
As usual, open the control panel and select Uninstall a program
Delete recently installed apps
Delete latest Windows Updates
Opne window settings> Update and Security> View Update History >Uninstall recent updates
Select the latest updates and delete them all.
Update System Drives
Open window icone> Device Manager
Uninstall system updates
Scan your PC for Malware
Malware can cause problems in your system that can compel your PC to restart automatically. You are advised to scan your system and free it from malware
Other suggestions
You can for hardware issues, CPU errors, Faulty power supply, and interrupted external devices. If any of these is causing PC restarts automatically issues, fix them. Moreover, if RAM is running out of storage, you need to free up space.