Assuming you are referring to a headlight connector on a vehicle:
To repin a headlight connector, you will need to remove the old pins from the connector and insert new ones. You may need to use a pin removal tool or a small screwdriver to do this. Once the old pins are removed, insert the new ones into the connector in their respective positions. Make sure that they are firmly in place before reassembling the connector.