Surgery isn’t frequently used to treat heart failure. However, it’s recommended when the doctor can identify a correctable problem that’s causing heart failure – such as a defect or a blocked coronary artery. Today, doctors are able to correct many problems by implanting devices.