The best prevention for bone-thinning osteoporosis begins early — during the first two decades of life, when you can most influence your peak bone mass by getting enough calcium and vitamin D and doing bone-strengthening exercise. If you are over age 20, there's no need to be discouraged. It's never too late to adopt bone-preserving habits.