Getting plenty of calcium and vitamin D, before and after menopause, can lower the risk of osteoporosis. Milk and dairy products, such as cheese and butter are a good source of calcium and Vitamin D.