Terbutaline shot at 36w+2 days!

Kim
Called my obgyn cuz of back pain and stomach pain I had after work. She told me to come in for a labor check and I was contracting every 6-10 😳. She said she didn't want baby out this early and gave me the shot and far contractions have stopped but kinda worried. Did this happen to anyone ?