A dog may get an upset stomach due to a virus, from eating a new food or from eating a non-food item. Whatever the cause, it's important to closely monitor a dog that's vomiting, while also providing supportive care and home remedies to speed recovery. You can treat minor vomiting at home, but if your dog vomits repeatedly within 24 hours, take it to a vet immediately.
Withhold food and water for about 12 hours. This gives the dog's stomach time to rest and flush out any toxins.
Feed the dog ice chips or about a half cup of water to see if it's still having digestive problems. You can add a pediatric electrolyte solution, which is like a sports drink for dogs or children, to the water to help restore helpful chemicals in the dog's system. Alternatively, mix in a low-salt bullion cube with the dog's normal water.
Feed the dog a small diet of bland foods like cooked white rice or boiled chicken if it seems able to handle the water. Give it two to three small meals a day, about a quarter the size of its regular meal, for the first day or when it hasn't vomited for at least four hours.
Feed the dog the bland foods, increasing the serving to about a third of its meal size, for the next three days. Then gradually reintroduce the dog's normal food to its regular serving size over about three more days.