Easy to do. Throw the breaker to that circuit. Check with circuit tester to make sure it is off. Circuit testers are inexpensive little thing with wires and a little light. Take the old switch out. Match white wire to white wire; black to black, ground to ground. Screw new switch in and replace cover plate. Turn breaker back on. Flip switch. Light on.