What kinda car? Year?
Turn the switch on and check Voltage at the bulb sockets and work your way back to the switch.....
Give me year, make, model and I may be able to come up with the wiring diagram for ya.
Corroded socket contacts?
I can guess all day!
****.... sorry, just saw make model info. When did ya sneak that in?