Treatment for AFL may also include:  Medications to slow down the heartbeat. Medications to thin the blood and help prevent a stroke. A pacemaker. An implantable cardioverter-defibrillator, or ICD. A maze procedure.