Heat, bad power supply and bad RAM are the most common, though not all the possibilities.
Can you check your system temps? If you remove the cover and blow a fan in there does it help?
What power supply and wattage? If a pre-fab machine, what make and model for the sytem. If not, what motherboard?
You can test your RAM with Memtest (
www.memtest86.com)
What malware protection are you using?
What happened prior to these difficulties?