How does an ICD work?

An ICD monitors a person's every heartbeat around the clock. If the heart rate is too fast or too slow, the ICD automatically sends small, painless electrical signals to correct it. If that doesn't do the trick, the defibrillator delivers a shock to restore the heart to a normal rate.