Medical conditions, unhealthy habits, and social determinants can pose a higher risk for heart disease.