So I built a new pc and I put everything together correctly since I double checked every part like 10 times. My psu works also since i checked it with the paper clip. I checked each if my ram slots. I plugged out my graphics card and it did the same thing still and I took out my cpu and reinstalled it. I even took the battery out of the mobo and put it back in. It still just starts up and turns off right after.
Parts:
Motherbored: B40M DS3H
Graphics Card: XFX Raedon RX 570 8Gb
CPU: Ryzen 5 2600
Ram: Patriot Viper 4 Series 4x2 8gb
PSU: 650W EVGA
Parts:
Motherbored: B40M DS3H
Graphics Card: XFX Raedon RX 570 8Gb
CPU: Ryzen 5 2600
Ram: Patriot Viper 4 Series 4x2 8gb
PSU: 650W EVGA