Medication to treat osteoporosis