First wire the power terminals to a switched 12volt source. Then hook the input cables from the head unit into the amp. Finally run the amp's outputs to the speakers.
this is how you hook up a car amp first you hook up the main power line to your car battery after you run the wire to where the amp is in the car. the you hook up the negative and positive to the amp