If a pregnant woman has contractions during pregnancy, she needs to choose different treatment measures according to the stage of pregnancy, there are several cases as follows: 1. If the contraction occurs in the middle of pregnancy, the clinical treatment can be carried out by intravenous input of magnesium sulfate or ritodrine, and the patient should pay attention to sufficient nutritional intake and ensure sufficient rest; 3, if the contraction occurs in the late pregnancy, if it is less than 34 weeks, she should be hospitalized to apply contraction inhibiting drugs to preserve the fetus and apply glucocorticoids to promote fetal lung maturation; after it is more than 34 weeks If the contractions occur after 34 weeks, in principle, no drugs are needed; if the pregnancy week is greater than 37 weeks, it is already a full-term baby, and the contractions may be a symptom of labor, so you can go to the hospital in time for delivery.