Always handle electrical repairs as if the power were on!
It is a good idea to always shut off the power to an outlet or switch before doing any work within the wall. Too often we have found previous repairs that were not done in a safe manner. This electrical box suddenly gained a charge once we opened it up. The wires were not secured correctly; pulling the outlet out engaged the live circuit. Handling this incorrectly would have been shocking.