Some medications prescribed for the usual health problems, like heartburn or depression, could have an impact on your bone health.
That’s not an excuse, though, to stop taking them. It’s a must to weight the upsides and the drawbacks: the benefits of the medicine against the effect on the bones.
The advantages of a medicine could outweigh the risks. Or your physician could prescribe a ”bone-maintenance” medicine to offset the risk.