Chosen Solution
My headlight keeps turnong off on its own while I’m driving. How can I tell if its just a bad bulb or the whole head unit has to he replaced (much more expensive!)? How and what part do I need to replace it with?
Are you saying one bulb only turns off and is it the same bulb? Is your car equipped with HID headlamps? If it is often what happens is the ballist starts to fail.
Check connectors, if they’re OK, replace bulb
You should replace the adapter of the headlight.