Steroid medication does influence bone density and when taken for longer periods they increase the risk of osteoporosis. However, it is more important to control your asthma and the harmful effects of steroids can be counter acted to a certain extent by regular intake of calcium and vitamin D supplements.