When I turn on my headlights l sometimes have to hit the headlight for it to come on
you have a dirty or faulty connection to the light bulb. Clean the socket and firmly attach it back on the bulb prongs.
Search Toyota Camry Questions
Toyota Camry Experts