Foamy stools are mostly considered to be caused by indigestion. Patients can take probiotics or probiotics combined with montelukast for treatment. The probiotics commonly used in clinical practice include Clostridium typhimurium tablets, Bacillus coagulans, Bacillus subtilis capsules and Bifidobacterium subtilis, etc. The specific medication needs to consult the drug instructions or clinical pharmacist. Probiotics can mainly play the role of regulating the disorder of intestinal flora and inhibiting the reproduction of harmful bacteria, so that it can treat the symptoms of diarrhea. If the diarrhea is serious and frequent, it can also be treated with montelukast, which is a gastrointestinal mucous membrane protector with antidiarrheal effects, but the use of this drug should be used under the guidance of a physician, not blindly use antidiarrheal drugs on their own, so as not to cause constipation and other adverse reactions.