Cardiac Medications. If you've had a heart attack, you will most likely be prescribed medication that you will take for the rest of your life. There are many types and combinations of drugs used to treat coronary artery disease (CAD), and your doctor will decide the best treatment combination for your situation. The following chart gives you a quick at-a-glance look at many typical cardiac medications.