Question: what to do if your dog is throwing up food?
Answer: Withhold food for a few hours, but make sure to consult your veterinarian on how long first. ... 
Once vomiting stops, introduce a bland, low-fat food, and feed your dog small amounts three to six times daily for a few days.