and installed everything in the case as it was in the previous. Im not sure I have the audio and other cables in properly but I have a few other problems too

The main one being that my computer will start up then shut off after a few seconds. Then I have to unplug it to try it again. Ive tried to refrain from doing this alot as Im not sure its going to do my pc any good. We got it working for a while im not sure what I did exactly however, it wouldnt go past the screen with the flashing underscore. Any help would be appreciated.
These specs might help.
Motherboard Specs
Edit: I now have it restarting constantly >-<