My PC has been doing this for a while, but at random times, my PC will just shutoff and come back on, as if I flipped the back power switch off then on. It seems to happen most often while playing a game, then each time the system boots back up, becomes more common to the point where my PC is turning on and off nonstop, and I have to leave it turned off for a few hours. I'm not too sure when this first started, but I think that a recent lightning storm may have had something to do with it, as I had my PC plugged straight into the wall. I checked the temperature of my CPU and checked if it was being overloaded, and everything seemed normal, with my CPU at around 30c and under load, only using about 10% of its max power. A friend suggested that my PSU may not give enough watts, but according to PC part picker, my pc draws about 300 watts while my PSU supplies 550w. Here are my specs:
i5 6600k (default clock speed)
GTX 1060 3GB
16 GB Ram
1 TB HDD
120 GB SSD
550w PSU
i5 6600k (default clock speed)
GTX 1060 3GB
16 GB Ram
1 TB HDD
120 GB SSD
550w PSU