Agree with Jason. Change bulb first, then ballast. I doubt ECU is faulty or you will get a message on dashboard about "adaptive headlight malfunction". The ballast location is very bad at the bottom of the light housing. It collects water as there is a gap (painted) near the top middle of the black light housing that allows water to flow down. I had rain water damaged the entire light assembly once. Insurance covered but I sealed that little gap with epoxy since....such a stupid design...my gosh! If you were getting intermittent lighting off and on before it went bad, then more than likely faulty ballast.