My headlights are not working

Question by kincsem posted 6 months 1 week ago in Corolla

Okay, so I have a Toyota Corolla 2012 model and my right headlight stopped working. I went to the shop, bought a new light and replaced it and everything worked fine.

Later, my left headlight stopped working, so I bought a new one and it was fixed.

Now after 2 months, my right headlight has stopped working again.

So I am not sure, am I just buying low quality parts? or can this be a circuit problem from the inside? Don't want to keep on buying new lights and not get the real problem fixed.