One of the major risk factors of a heart attack is the narrowing or blockage of arteries. Certain cases that do not respond to medications or other treatments would require undergoing a bypass surgery that could help improve the blood flow to the heart and restore normal cardiac function.