Making lifestyle changes is the most effective way to prevent having a heart attack (or having another heart attack).

Some things you can do to help prevent a heart attack (as well as stroke) are:

A healthy diet

Eating an unhealthy diet that is high in fat will make hardening of the arteries (atherosclerosis) worse and increase your risk of a heart attack.

Continuing to eat high-fat foods will cause more fatty plaques to build up in your arteries. This is because fatty foods contain an unhealthy type of cholesterol.

There are 2 main types of cholesterol:

There are also 2 types of fat – saturated and unsaturated. Avoid foods containing high levels of saturated fat, as they increase levels of LDL cholesterol in your blood.

Foods high in saturated fat include:

You should aim to follow a Mediterranean-style diet. This means eating more wholegrain bread, rice and pasta, and fruit, vegetables and fish, and less meat.

Replace butter and cheese with products based on vegetable and plant oil, such as olive oil.

Oily fish, such as herring, sardines and salmon, can form part of a Mediterranean-style diet, but there's no need to eat this type of fish specifically to try to prevent another heart attack.

Also, taking omega-3 fatty acid supplements, or eating foods fortified with omega-3 fatty acids, has not been found to help prevent another heart attack.

Never take a food supplement without first consulting a GP. Some supplements, such as beta-carotene, are potentially harmful.


Smoking is a major risk factor for heart attack because it causes atherosclerosis and raises blood pressure.

A GP can refer you to a local NHS Stop Smoking Service, which will provide support and advice about the best ways to quit.

You can also call the NHS Smokefree Helpline on 0300 123 1044 (England only, from Monday to Friday 9am to 8pm, and Saturday and Sunday 11am to 4pm). Specially trained helpline staff offer free expert advice and encouragement.

If you are committed to quitting but do not want to be referred to a stop smoking service, a GP should be able to prescribe treatment to help with withdrawal symptoms you may experience.

Find out about quitting smoking.

High blood pressure

Persistent high blood pressure (hypertension) can put extra strain on your arteries and heart, increasing your risk of a heart attack.

High blood pressure can often be reduced by eating a healthy diet, moderating your alcohol intake, maintaining a healthy weight and doing regular exercise.

Diet and high blood pressure

The advice on eating a healthy, balanced diet also applies if you have high blood pressure. In addition, cut down on the amount of salt in your food.

Salt raises blood pressure. The more salt you eat, the higher your blood pressure. You should aim to eat less than 6g of salt a day (2.4g sodium) – that's around 1 teaspoonful.

Find out how to cut down on salt.

Eating a low-fat diet that includes lots of fibre – such as wholegrain rice, bread, pasta and plenty of fruit and vegetables – has been proven to help lower blood pressure. Fruit and vegetables also contain vital vitamins and minerals and help keep your body healthy.

You should aim to eat 5 portions of fruit and vegetables every day.

Find out more about getting your 5 A Day.


Speak to your GP for advice about drinking alcohol if:

If you drink alcohol, do not exceed the recommended limits:

14 units is equivalent to 6 pints of average-strength beer, or 10 small glasses of low-strength wine.

Find out more about alcohol units.

Regularly exceeding the recommended alcohol limits raises your blood pressure and cholesterol level, increasing your risk of a heart attack.

Avoid binge drinking, which is drinking lots of alcohol in a short space of time or drinking to get drunk.

Binge drinking can cause a sudden and large rise in your blood pressure, which could be potentially dangerous.

Find tips for cutting down on alcohol.

Contact your GP if you find it difficult to moderate your drinking. Counselling services and medicines can help you reduce your alcohol intake.

Find out more about alcohol support.


Being overweight forces your heart to work harder to pump blood around your body, which can raise your blood pressure. Use the BMI healthy weight calculator to find out if you are a healthy weight for your height.

If you do need to lose weight, remember that losing just a few kilos will make a positive difference to your blood pressure and health.

Find out more about managing your weight.


Being active and doing regular exercise will lower your blood pressure by keeping your heart and blood vessels in good condition. Regular exercise can also help you lose weight, which will help to lower your blood pressure.

Low-impact activities such as walking, swimming and cycling are recommended. More strenuous activities, such as playing football and squash, may not be suitable for you. Check with the doctor in charge of your care.

Find out more about exercise guidelines and workouts to help improve your fitness and wellbeing.

Page last reviewed: 13 July 2023
Next review due: 13 July 2026