Your dog has been throwing up will canned pumpkin or sweet potatoes help?

Has you dog gotten into something like the trash? Canned pumpkin is not good this will have a laxative effect, try 1 teaspoon of Pepto, if this does not work go to the vet