I'm 99% sure it's your PSU can borrow one from someone and test it on your pc ?
Before you got this problem your pc restarted from time to time ? if you noticed anything weird before getting here pls tell us it might help .
Before this problem I had to turn off the computer using the PSU switch.