How to Switch Between two different Lights?

Thanks a Bunch guys...I'm obviously a beginner and im not sure even how the relays even work or how to program the arduino. I can only program leds to blink and barely know the if statement. I want to order the crydom Relays but im scared because i dont know how to program the arduino or how to hook them up to the two lights at all.