For minor conditions that include indigestion, mild diarrhea, and gas, Pepto can help alleviate discomfort and in some cases, stop the symptom. How to Treat Dog Tummy Problems An upset stomach can be caused by a number of things, such as stress or anxiety, switching to a new food, medication side effects, or consuming something they shouldnt have.