Tobacco use, unhealthy diet, and physical inactivity increase the risk of heart attacks and strokes by leading to high blood pressure, high blood sugar, and high blood fats. These physical problems accelerate the narrowing and hardening of arteries. The document recommends preventing these risks through a healthy lifestyle of not smoking, eating a nutritious diet low in fat and salt, and exercising regularly. Maintaining these habits and seeing a doctor annually can significantly reduce the chances of heart attack and stroke.