Contraction with no pain at 33 weeks

Sasha
I m 33 weeks 6 days i went to the ER for severe itching abdomen came to find out im also contracting with no pain nor signs of labor. They gave me steroids shot and magnesium sulfate IV in case i go into pre term labor has anyone experienced tht before what's the outcome im hoping the baby hang on to at least 37 weeks. Keep me in your prayers guys