This is where it gets easier. All you do is reverse the
procedure you followed to remove the switch. Loop the bare end of each wire
tightly around the proper terminal screw using a pair of needle nose pliers.
Loop it in a clockwise direction so that when the screw is tightened it will
draw the wire tight to the terminal. After the wires are all reconnected,
making sure no bare wires touch each other; gently push the switch back into
the wall. Put the screws back in and then put the faceplate on and you're done.
Turn the circuit breaker back on and test the switch.
Note: Finetuning is not responsible for any injury or damage
caused by readers following the above advice.