My head light on my 2000 Mazda Protege goes out frequently. I changed the bulb and it works, but goes out from time to time. If I hit the hood by where the headlight is, The bulbs work fine. What could possibly be the problem and how can I go about it.