Turn off all electricity to your ceiling fan unit.
Use a ladder or stool to climb up to the ceiling fan light.
Take off the switch housing cover by removing the screws located on either the bottom or sides of the housing unit.
Label the wires with tape in relation to their position on the chain and make proper notes before removing the chain from the wiring.
Unscrew the brass finial (small, crown-shaped fitting) on the outside of the housing unit to disengage the chain.
Disconnect the wires from the chain. Insert a small screwdriver into the slots on the chain next to each wire and pry them off with needle-nose pliers.
Reconnect the wires on the new chain in the proper order.
Slide the pull chain back through the housing unit and replace the finial cap.
Tighten the screws back into the housing unit to re-attach the housing cap.
Climb down carefully and return electricity to your ceiling fan light. Test the chain to ensure it is operating correctly.