Question: what to do if my dog is throwing up yellow foam?
Answer: Feed them more frequently A simple way to resolve the issue is to feed your dog more often. ... 
Give them Zantac, Pepcid ac, or Tagamet All these medications will regulate the production of stomach acids and bile that will alleviate stomach problems.