Just the other day I accidently hit my computer and it froze. I turned it off and then back on, it turned off on its own. It did this a couple times until I was able to get to a screen that said my pc has ran into a problem, I then reset my computer and now I'm able to get to my home screen though after a bit of time it will turn off on its own. I also noticed a weird buzzing noise coming from the cpu cooler when I opened up my computer to have a look. I have no idea what is wrong.