Note
Applies to cars with halogen headlamps.

Detach the headlamp.
Turn the bulb holder anticlockwise.
Pull out the bulb holder.
Replace the bulb and put back the parts in reverse order.
Turn the bulb holder anticlockwise.
Pull out the bulb holder.