It's your fuses. Check under the hood for a blown fuse or look on your amp for a blown fuse. Also you could have blown one of your subs, if this is the case then you are shorting your circuit and it will just power off. You need to unplug both your subs and find out which is blown.