Hope came to us with stomach issues. She was later diagnosed with chronic colitis. Pumpkin helped firm up her stools. Some also say that it helps with constipation but we have not had that problem so I do not know firsthand.
I bought cheap ice cube trays, filled each compartment with canned pumpkin (plain, not the pie filling), froze them and then popped out the pumpkin cubes and stored in a ziploc bag in the freezer.
Now that she is stable, I just keep a can of pumpkin in the pantry at all times just in case.