They can help prevent heart attack and stroke. They can also prevent complications and slow the progression of coronary heart disease. Some of the major types of commonly prescribed cardiovascular medications used to treat arrhythmias are summarized in this section.