The bad connection in the socket caused heat that also damaged the contact on the bulb.
The bulb needs to be replaced and a new socket is available at any auto parts store for a minimal (cheap) price. Might consider new more often... it might even be cheaper...
Keith