A heart attack (myocardial infarction) occurs when an area of heart muscle dies or is permanently damaged because of an inadequate supply of oxygen to that area. See also: sub-topics. Drugs used to treat Heart Attack The following list of medications are in some way related to, or used in the treatment of this condition.