Question: what to do if your dog is throwing up stomach acid?
Answer: Withhold food for 24 hours, which gives the digestive tract an opportunity to rest.
Provide small amounts of water every hour or so. ... 
After 24 vomit-free hours, feed small amounts of a low-fat food that is easy to digest.