First, you’ll need to ensure that the switch's circuit breaker is turned on. If the circuit breaker is turned on, you should diagnose a bad switch by checking the continuity, or you may have faulty wiring at the connection.