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

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.