Have you tried doing a fresh, from scratch reinstall of the OS? Something like this can be caused by damaged system files, buggy device drivers or even malware. But yes, I would check the power system in your home as others have said. Check the voltage with a multimeter to see if it is too high or too low:
https://www.amazon.com/ELIKE-T-92-S...TF8&qid=1477747525&sr=8-3&keywords=multimeter. Get an LED circuit tester to check for incorrect wiring sequence:
https://www.amazon.com/Electrical-R...words=home+electricity+plug+in+circuit+tester These are very inexpensive items.
I would certainly try replacing the power cord at the back of the PSU. When people take a computer to a shop to be checked they often don't take the power cord. I would also check any power strips/surge protectors between the computer and the wall outlet for proper functioning. Are the wall outlets old and not gripping plug prongs securely?
Another possibility is overheating. Do you live in a part of the world where it gets extremely hot and air conditioning is not available in your living environment? Is the PC stuffed into a desk or entertainment center where it does not get fresh air? Is the CPU heatsink or PSU clogged with dust? Maybe the PC shops have a cooler environment.