Heart attack is formed on the basis of coronary artery atherosclerosis, so the prevention of heart attack is mainly the prevention of coronary artery atherosclerosis. 1, strict control of risk factors: including good control of hypertension, hyperlipidemia, diabetes, obese people need to control weight, and those with sleep apnea need to improve nighttime hypoxia. 2, good lifestyle: ensure sleep; emotional stability, adjust the mind, reduce tension and anxiety; reduce the consumption of fat, salt and sugar-rich food; receive medical exercise prescription guidance to achieve stabilization and reversal of plaque; do not smoke or quit smoking and reduce alcohol consumption. 3, avoid attack triggers: avoid strenuous activities, emotional excitement, constipation, all of these conditions can increase myocardial oxygen demand and induce heart attack. Avoid overeating, after the body to meet the digestive needs, the heart must output a large amount of blood supply to the gastrointestinal system and other digestive system, the heart’s own blood circulation is in a state of relative ischemia, which may induce a heart attack. 4, how to prevent attacks: adhere to the secondary prevention of coronary heart disease drugs, adhere to medical exercise therapy and a healthy lifestyle, do not smoke or quit smoking; patients diagnosed with coronary heart disease should carry emergency drugs such as nitroglycerin and cards with their names, home addresses, contact numbers and past medical history; know the nearby hospitals that can provide 24-hour service. In summary, prevention of heart attack requires both prevention of the onset and triggering factors, as well as adherence to medications to control disease progression.