People with a family history of heart attacks are not destined to have one themselves. Sure, genetic risk factors play a significant role in the development of cardiovascular disease, but there are other influences at work. Lifestyle choices are still a major cause of heart problems, although of course, genetics may also have an impact on what kind of choices people make.
The Mayo Clinic advises people to form habits that will benefit them. Staying active, eating the right foods and not smoking can help prevent diseases that may otherwise be much more likely in certain people.