Steroid shots?

Anyone else had a steroid shot early in pregnancy? My OB said I'll probably start getting them in 2 weeks (I'll be 24 weeks) depending how my next labs look.. My OB told me to start gaining a little more weight now due to my headaches, high blood pressure, low iron and B12 because my body isn't responding well to the pills, shots, or injections and I more than likely will be induced way sooner than my due date after baby gains some fat and has a higher chance of survival. This is my rainbow baby and I don't want to lose her. šŸ’”