Before the bulb can be replaced, the plastic cover over the headlamp must be removed.

Detach the headlamp's rubber cover for the indicator bulb.
Press the catches together and pull the bulb holder straight out.
Replace with a new bulb holder with bulb.
Fit the bulb holder into the socket and press it into place.
Refit the headlamp's rubber cover.