Lifestyle factors such as avoiding tobacco and excessive alcohol consumption, maintaining a healthy body weight, getting adequate sleep, and practicing good posture contribute to overall bone health.