Premature labor

So yesterday my OB sent me to maternity becaus of cramping. Turns out I was going into premature labor and thankfully after iv fluids failed to stop the contractions, the shot they gave me worked and I was able to go home. My question is, have any of you went into premature labor that was stopped? How much longer after did you actually deliver?