Steroid injections are generally not recommended during pregnancy or while breastfeeding, as the medication can pass through the placenta or into breast milk. Always discuss your unique situation with your healthcare provider.