Arrhythmias are usually treated with medication. When treatment does not work for the kind of arrhythmias that slow the heart down, a pacemaker may be necessary.