To prevent premature pains again, you need to avoid travel, sex, lifting heavy weights and doing heavy work. If the post graduation course does not involve hectic physical work, she can continue, but she should have enough physical and mental rest, along with a good nutritious diet and good sleep. The medicines can be taken for some time to tide over the critical times when the premature pains started, or if there are episodes of uterine contractions. Urinary and genital infections must be ruled out by urine and vaginal swab cultures- and treatment should be given if necessary. Ultrasound to check for normalcy of the uterus, placenta and fetus also need to be done along with measures of cervical length and dilatation to make sure there is no problem with early opening of the uterine cervix, which can also cause early delivery and is easily treated by a stitch. The above tests are mentioned to find the common causes of premature pains that can be treated. There should be no anaemia, high blood pressure or sugar problem, as well.