If a pregnant woman has gastroenteritis, the condition is mild, some can be self-healing, generally need 3-7 days, serious need to go to the hospital for treatment, can be divided into two cases to explain: 1, pregnant women if it is due to improper diet, resulting in gastrointestinal dysfunction, causing mild gastroenteritis, generally 3-7 days can be self-healing, no need to use drugs, just pay attention to diet can, it is recommended not to eat cold and irritating food, eat more If the infection is caused by bacteria or viruses, leading to gastroenteritis, serious diarrhea and fever and other symptoms, generally can not be self-healing, then you need to take drugs according to the cause of treatment. The specific medication should be under the guidance of a doctor, using certain antibiotics as well as infusion therapy to prevent dehydration. In mild to moderate acute gastroenteritis, when the patient has diarrhea, dehydration is mild and is not accompanied by fever, the patient can be given anti-diarrheal drugs such as montelukast, which is safer for pregnant women, while paying attention to supplemental sugar and saline. For more serious cases with dehydration, fever, and red and white blood cells in the stool, antibiotics can be given, along with rehydration, which is also safer. If you are suffering from gastroenteritis during pregnancy, you need to pay attention to the fact that severe diarrhea leading to dehydration can have an impact on the development of the fetus, and diarrhea can stimulate contractions, which can lead to premature birth or miscarriage in severe cases.