Is terbutaline used to stopped contractions?

Yes. Yes, but it has never been shown to be a very effective medication for this, and it can have significant side effects.