Most conversations about swimming pool safety revolve around drowning. But electrocution is also a concern.

Although far less common than drowning, electrocution in or near swimming pools takes lives every year. In one instance, a 7-year-old boy was electrocuted by a faulty pool light.

Here are some measures to prevent electrical accidents.

Keep TVs, radios and extension cords far away from the water.

Have your pool equipment inspected and maintained each season. Faulty, malfunctioning or improperly installed equipment—like pool lights—can be hazardous. Don’t do your own electrical work on your pool lights or other electrical components. Call a licensed electrician.

Keep electrical devices and cords at least 5 feet away from the edge of the pool.

Supervise children and party guests who are using the pool. Look for signs of trouble, like flickering lights or equipment that performs erratically. If a swimmer is twitching or unresponsive, it’s possible the water is electrified.

Make a plan in case someone gets shocked at the pool. You’re less likely to panic if you know exactly what to do: Turn off the power, clear the pool area without touching anything metal and call 911.