Steroid shots at 31 w 3days & vaginal progesterone capsules??

Have any of you guys had to do this? I am 31w 3days & was told today that my cervix is shortening and I am at risk of pre term labor. I also have to start inserting vaginal progesterone capsules until about 36 weeks (if I make it that far) anyone with any affects from this??