Make sure the power to pump and controller is turned off
2.  The incoming power attaches to the top terminals of the relay
3.  The outgoing power to the pump attaches to the bottom terminals of the relay
4.  Then see that the power source from the timer’s pump start/ master valve and common terminals connect to the red wires on the relay. There is no polarity to the coil wires.
(#4 is for a relay with a 24-volt coil. If your system uses a higher 110- or 220-volt control voltage to the relay you must use a relay with a coil voltage that matches your controller/timer’s output)