It is also worth checking if you have wires the switch correctly.
Depending on how the switch connections are configured, the relay may be always on, never on, or turn on and off with the switch. Because your talking to us, we know it's not the third one.
A bit of explanation about the...