My PC won't post

GeoMC

Commendable
May 30, 2016
4
0
1,510
So here's what had happened, I was writing code for homework when I switched off my PC from the main power outlet and went to have lunch.
When I came back after a couple of hours the I turned it on, the PC wasn't giving any video output and when I opened the case I found out that the CPU Cooler's fan started and stopped working and this repetatively occured.
I'm worried now
Specs:
i5 6600
ASUS GTX960 2GB STRIX
16GB Corsair Vengence 2400MHz
500W CX500 corsair
Stock intel cooler.
Thanks for your time
EDIT: My Keybosrd or mouse are also not getting any power output