Even though I've never tried to work on electricity by myself but I've learnt safety measures to take when working on electricity,
Firstly, I will turn off the power at the breaker, wear rubber and gloves, avoid coming in contact with higher voltages before starting any work.