"Build-up of dust can increase the temperature inside a PC, a process that can put additional load on the CPU and video card. Greater load means a higher temperature… and so on. If dust is considerable and the fans are not sufficient for cooling, disaster will strike." - https://www.makeuseof.com/tag/why-do...keep-crashing/
If your PC is dusty you might want to clean it.
If that doesn't work, you should try and re-install.