when to take dog to vet for vomiting