Sotacor, which contains the active ingredient sotalol, is used to treat life-threatening ventricular arrhythmias, such as sustained ventricular tachycardia. It is also prescribed for the treatment and prevention of supraventricular and ventricular arrhythmias in patients.