In the 7th month of pregnancy, if you have stomach pain and diarrhea, you should pay attention to keeping warm and not to eat too oily food or spicy and irritating food. If the diarrhea is serious and the stomach pain is severe, you should first check the stool routine to see if it is caused by bacterial infection or indigestion. If the diarrhea is caused by bacterial infection, you can take cephalosporin with montelukast treatment, this drug can play a role in anti-infection, astringent intestine to stop diarrhea. If the diarrhea is caused by indigestion, you can take bifidobacterium, which can regulate the normal intestinal flora and is used to treat the symptoms of bloating, diarrhea, nausea and vomiting caused by indigestion. During this period, if the diarrhea is not serious, you can temporarily do without medication, pay attention to warmth with hot compresses or moderate amount of brown sugar ginger water to improve the symptoms.