Many different medicines can help treat heart disease. Learn what type of medicine you're taking, what it treats, and how to take it safely. Ask your health care provider or pharmacist if you have questions about why you need a medicine or how it works. Medicines are prescribed in just the right doses for your heart condition. They work only if you take them exactly as directed. So your provider can prescribe the best medicine for you, but it's up to you to take them correctly.