An implantable cardioverter defibrillator, or ICD, may be implanted. ICDs are similar to pacemakers. The device checks your heart rate and corrects heart rhythms that are too fast.