Here's a photo - remove cap, disconnect connector to bulb, move bulb retainer out of the way & extract bulb - installation of new bulb is in reverse order.
If you want to replace the entire ASSEMBLY, there are three (3) 10mm bolts holding the assy. Remove them, then slide assy forward to access connectors - disconnect them.

Tell us some more! Your answer needs to include more details to help people.You can't post answers that contain an email address.Please enter a valid email address.The email address entered is already associated to an account.Login to postPlease use English characters only.

Turn the engine off, open the hood, and disconnect the negative battery cable (--) with your pliers.

Locate the power distribution box against the firewall on the driver's side of the engine compartment. Flip up the latch and remove the plastic cover.

Determine which headlight fuse you want to replace. The 2001 Ford Focus uses four headlight fuses--one for each headlight. Fuse number 16 is for the passenger side low beam; fuse number 17 is for the driver's side low beam. Fuse number 26 is for the passenger side high beam; fuse number 27 is for the driver's side high beam.

Grasp the fuse with your fingers and pull it straight out of its mount. Insert the new fuse in its place. Replace the plastic cover and reconnect the negative battery cable.

The process is fairly simple.
You unscrew the protective cap inside the engine well and remove the bulb from the housing. Look at the bulb retainer to see how to remove it and unplug the wires.
Just reverse the order to put the new bulb back in. Make sure everything is nice and tight and you are good to go.
Remember! Use clean (rubber) gloves to handle the new bulb. Never touch the bulb portion or you may greatly reduce the life of the bulb (depending on its type).
Best wishes!