If your arrhythmia is serious, you may need a cardiac pacemaker or an implantable cardioverter defibrillator (ICD). They are devices that are implanted in your chest or abdomen. A pacemaker helps control abnormal heart rhythms. It uses electrical pulses to prompt the heart to beat at a normal rate.