Anytime you are trouble shooting anything that uses electricity always disconnect the power. Locate the breaker and turn it off. Using a multimeter, outlet tester, or a tester pen can help ensure that power is no longer being supplied. If you are in a commercial environment, always use a lock out tag out kit.