If you have diarrhea in late pregnancy, accompanied by stomach pain, this situation is considered to be acute enteritis, which can be caused by bacterial infection or indigestion, and you need to pay attention to the distinction in order to treat the symptoms. If the diarrhea is caused by eating unclean food and accompanied by stomach pain, you need to take anti-inflammatory drugs to treat it, you can take cephalosporin or amoxicillin during pregnancy, you can also take safranin hydrochloride for anti-inflammatory treatment. If the diarrhea is more serious, you can combine it with montelukast, which has the effect of astringent intestine to stop diarrhea and will not affect the growth and development of the fetus. If the diarrhea is caused by indigestion and stomach pain, you can take Bifidobacterium or Pepcid for treatment, which can help digestion and relieve diarrhea caused by intestinal indigestion. During this period, you also need to pay attention to keep warm, not to eat cold food, moderate amount of millet porridge can ease the symptoms.