Or just eat a healthy balanced diet at or below your TDEE, and work out regularly. Moderation in everything and all that.
I find that just being active goes a long way towards having good heart health. Now, obviously, people with perfect eating habits and workout schedules still get heart attacks, but on average, there are enough studies showing that good and active health habits (eating right, not smoking, working out) correspond to good heart health.
Moderation does not mean that you stop eating everything you enjoy. It means that you eat them occasionally. Ensuring that you hit your protein/fat/cab macros on a weekly basis, getting enough fruits and vegetables, cutting down fried foods, sodas, and saving that burger, fries, and beer for an occasional treat.
Even in my own life, I can clearly look at those friends and colleagues who are active versus those who are fat slobs who drink ungodly amounts of beer, smoke, and watch football and suffer from heart problems at an early age. That is not including issues like sleep apnea, pulmonary problems, and just generally being unfit and unhealthy.
I rather like this short and awesome clip by Will Gadd called Move on the importance of movement. Ultimately, we all tend to fall off the wagon once in a while. But there's something to be said about just getting your feet back on the ground and just busting your ass either at the gym, playing a sport, or just being outside.
While I enjoy my time sleeping in or vegging out on the couch, I've never regretted those times when I've spent my weekends climbing, running or being outside, coming home exhausted. While I have enjoyed vacations where I've come back fatter after having spent two weeks on a beach eating and getting drunk, I am more proud of the ones where I spent two weeks out in the middle of nowhere, hiking and climbing and come home with a badass beard and smelling like sweat and earth.
There are some evenings when I am tempted to just go out with my friends, drink beer, watch TV, and crash on the couch. It takes an effort to get my ass off to a run, and come back and eat a salad and a protein shake. But over time, that pays off.
Every time I have fallen off the wagon, I can slowly see my own cardiovascular health deteriorating, in as short a time frame as just six months -- elevated cholesterol levels, shortness of breath when climbing up a flight of stairs, and a general lethargy that builds up. But when I'm actually out being active, the opposite happens -- good practices become habits. I am more active. Less lazy. The couch is a welcome occasional respite. The occasional burger and fries are a welcome treat, but not something I can do every day. The occasional beer after working out feel refreshing. And it's always awesome to see women check me out. And my physicals are something I look forward to, not something I'm afraid of.
So, yeah. Ultimately, the secret to good health (in my very humble opinion and personal experience) is good, moderate eating habits and an active lifestyle.