Also, it may or may not go through a relay. So the switch could be ok, and the relay or associated wiring could be faulty. My fog light switch has a 12v feed when headlights are on, an earth for illuminating the switch when switched on and a feed to the fog light, which then has an earth to complete the circuit. As mine only has 1 fog light I don't have a relay.
HTH Nick