How to prevent osteoporosis during pregnancy?

To prevent osteoporosis during pregnancy, you can take the following steps: First, ensure adequate intake of calcium and vitamin D, which are essential for bone health. Second, engage in moderate exercise, such as walking and swimming, to strengthen bone density. Additionally, avoid smoking and excessive alcohol consumption, as these can negatively impact bone health. Lastly, have regular prenatal check-ups and follow your doctor's advice to ensure the health of both you and your baby.