When changing the headlight, highbeam or foglight bulb on your vehicle, it is of paramount importance that you not touch the glass part of the bulb with your bare fingers. Oils on you hands will cause the section of the bulb that you touched to get much hotter than other areas of the bulb and will lead to the bulb burning out much quicker. If you do happen to touch the glass part of the bulb, take a solvent like rubbing alcohol and clean the globe thoroughly before installing it in your vehicle. This will remove the oil and the unwanted hotspots.
Why do headlight bulbs get dimmer. What type of headlight bulb to use in your car.
How to install LED bulbs inside of your car
Headlight bulb replacement approaches
New LED reverse lights enable car backup camera to see better