Prevention is the best treatment for osteoporosis. Barring that, a combination of regular weight-bearing exercise, a healthy diet high in plant foods, and an osteoporosis drug that you and your doctor agree is safe for you is the best treatment, along with stopping smoking and reducing alcohol intake.