Treatment for a heart attack depends on the severity. A doctor may prescribe medications to reduce the risk of further damage and prevent blood clots. In some cases, a doctor may recommend angioplasty, a procedure to open blocked arteries or repair any damaged heart tissue.