First and foremost: make sure you and your car are located in a safe space for working on it. Make sure to engage the parking or e-brake and disconnect the battery before attempting ANY electrical repair!
Get access
Open the hood (bonnet for our Brittish friends) of your car.
Locate the bolts or screws attaching the headlights to your car
A very informative picture!