just try changing out the bulb first with a new one and see if it still does it (common sense, of course). if not that, clean the connector. or maybe the prongs have become corroded or oxydized or something? it sounds like somethings a lil loose or corroded