An aftermarket amplifier should have the following connections:
(Power)
12 volt constant power from battery-> fuse block near battery-> Amp power.
Ground wire-> Amp ground wire.
Amp remote activation wire from stereo->Amp Remote connection on amp.
(Audio to amp)
Left and Right RCA plugs from stereo->RCA inputs to amp.
(Speakers)
Left speaker + -> Amp left speaker +
Left speaker - -> Amp left speaker -
Right speaker + -> Amp right speaker +
Right speaker - -> Amp right speaker -
If that does not work, either something is wrong with the amp, or there is something wrong with the wires that run between the devices (for example, the speaker wires are frayed and touching the car body somewhere). There also might be something wrong with the speakers, such as a shorted voice coil.