For example, your family history, and lifestyle factors such as smoking, obesity, diet, etc, also affect your risk of these conditions.You can greatly reduce your risk of developing heart disease, stroke and many cancers by not smoking, and by taking regular exercise and eating a healthy diet.