When installing the amp you should always be careful with hot wires from the battery. Preferrably disconnect the negative terminal of the battery before doing any major work.
Also another reason amps might blow is because of speaker wires shorting out, or speakers having too low of an...