Head Lights go off on 2006 Dodge Charger

Te head ligths will go off when fist starting out. If I play with the dimmer switch they will come back on. But then they sometimes go back off again while driving

Asked by for the 2006 Dodge Charger
Sounds like the dimmer switch is failing. I'd check there first.
1 more answer
Mine just started doing the same thing. I get in the car i turn the switch on the lights may come on then go off. If i switch them off the lights then come back on and go off after a minute or so.