<human>:  How do you wire a three-way switch?
<bot>: To wire a three-way switch, start by turning off the circuit at the main panel. Then, use an electrical tester to make sure there is no power running through the switch. Next, remove the cover plate from the switch and disconnect the wires from the switch. You will need to connect the three bare wires to the switch. Connect the black wire to the top terminal, the white wire to the bottom terminal, and the red wire to the remaining terminal. Finally, re-attach the cover plate and turn the circuit back on at the main panel.