As soon as you begin contractions, contact your doctor immediately. You'll need to go directly to your birthing facility or the emergency room at the nearest hospital. If you're successful in halting the contractions with medication, you may be put on strict bed rest for the duration of the pregnancy. Depending on how severe the situation is, your doctor may decide to proceed with delivery. In the worst-case scenario, the baby is delivered prematurely and treated in a neonatal unit.
Premature labor is more commonly a third-trimester problem, however.
This drug is normally used in asthma, but has shown to work in preventing the onset of labor, although the FDA has never actually approved terbutaline for premature labor. Women are usually sent home with this pump armed with a very powerful medication. The FDA doesn't think it's a very good idea for women in delicate conditions to be alone and unmonitored with this very potent medicine. After it received numerous complaints by the National Women's Health Network, the FDA issued a warning to doctors against prescribing the terbutaline pump. As of this writing, one pregnant woman has died as a result of the terbutaline pump.