Question: what to do if dog is throwing up?
Answer: if it is a single vomit, withhold food for at least 6 hours. ... 
if the vomiting stops, small bland food meals can be introduced.
gradually increase the amount of water.
after 6 hours without vomiting, give your dog small amounts of a bland low-fat food several times a day for a few days.