My computer shut down as fast as it starts

hardwareallu

Prominent
Jan 19, 2018
2
0
510
Can some one explain how to fix my computer. When I press power button my computer gets power but nothing else happens. Nothing appears on the screen, and the keyboard and mouse are not getting power. Ten seconds later the computer shuts down and restarts. It will do that again and again for ever. I checked out that is all coolers rotating and yes they are rotating when the computer is powered on. Maybe the motherboard or power is corrupted. I think so. D:

System specs
Gigabyte GA-H97M-D3H motherboard
Cooler master 500w power
intel core i5-4570 processor
Kingston 8GB HyperX Fury ram
Gigabyte Geforce GTX 1060 3gb graphics card
Kingston Technology SSDNow V300 240GB
Hitachi Deskstar 320gb hard drive

(Windows has been installed to ssd)
 

deedloop

Prominent
Nov 11, 2017
38
0
530

What's your PC's OS?