There is no optimal treatment for foamy stools in the elderly, which may be caused by gastrointestinal disorders, indigestion, inflammation of the gastrointestinal tract, and other factors. It can be improved by general treatment and medication. 1. Gastrointestinal dysfunction: If the elderly have a long-term poor diet or favor cold, spicy and stimulating food, it may lead to gastrointestinal dysfunction, stimulate the intestinal mucosa, and the phenomenon of foamy stools. First of all, it is necessary to adjust the diet, avoid eating cold, spicy and stimulating food, and improve the symptoms with drugs such as Trimethoprim maleate tablets. 2. Indigestion: If the elderly have indigestion, it may lead to an increase in food residue, which is easy to accumulate in the intestines, and be fermented by the bacteria in the intestines to produce gas, which will lead to foamy stools. It can be improved by Clostridium Typhimurium tablets, Bacillus subtilis capsules and other drugs. 3. Gastrointestinal inflammation: When the elderly suffer from gastrointestinal inflammation, it may lead to bacterial fermentation, causing more gas production in the intestines, and the situation of foamy stools. This can be improved by medications such as Bacillus licheniformis live bacteria capsules and lactobacillin tablets. Elderly people with foamy stools should go to the hospital in time, after clarifying the cause of the disease, under the guidance of the doctor to give appropriate treatment and therapy. Drugs need to be used under the guidance of a professional physician, and should not be used arbitrarily.