1. Disconnect the power supply, unscrew the switch box screw with a screwdriver and open the switch box.
2. Unplug the two wires of the switch with needle-nosed pliers.
3. Press the cards at both ends of the switch with your hands, and then pull out the switch.
4. Replace the new switch and connect the wires. These two wires can be interchanged out of order.
5. Cover the switch box and tighten it.