Aureus808 :
everything is plugged in right it worked when i first booted it up then out of nowhere it shut off and now it doesnt turn on
If there is a hardware issue, it is most likely the motherboard.
Second guess would be the power supply.
If a shop assembled this PC, see if they will do some diagnostics for you.