Antiarrhythmics are drugs used to prevent and treat a rapid or irregular heart rhythm, often known as arrhythmia. It treats abnormal heart rhythms such as atrial fibrillation, atrial flutter, ventricular tachycardia, and ventricular fibrillation.