Given a passage and a query based on the passage, generate an unambiguous, concise and simple answer to the query from information in the passage. Note that the answer may not be present in exact form.

Working up the vomiting dog is a diagnostic challenge for veterinarians for several reasons, including: 1. The physical exam of a vomiting dog is often totally normal, especially if Fido feels icky because he licked something yucky in the back yard but is otherwise fine. 2. Sometimes an abrupt change in diet can cause vomiting. As long as your dog is acting normally and nothing else appears to be wrong with him, you can treat his vomiting by withholding his food for six to 12 hours if he is a small dog or puppy and for 12 to 24 hours for all other dogs. You should offer him small amounts of water during this time to avoid dehydration. Always have the number of your regular veterinarian, the ASPCA poison control and the number of your local 24-hour emergency clinic available. As a dog owner you know your dog best if you suspect something is wrong do not hesitate to call. This one act can sometimes mean the difference between life and death. Should your dog be vomiting or have abdominal tenderness or swelling, call the vet. An odd cough at any time could be a sign of something serious such as collapsed trachea, heart problems, infection, etc. If you have a large dog and notice his abdomen is bigger than normal, bring him to a vet immediately. They will do an x-ray and if it is bloat, they will do surgery in which they unravel the stomach, check the organs for any necrosis, and attach the stomach to the dog's side to prevent it from twisting. If your dog continues to vomit, even after you have withheld food and water, seek immediate veterinary care. Also, if your dog exhibits other signs of illness along with the vomiting, such as diarrhea, fever, lethargy or depression, due not attempt to treat him at home. Chronic diarrhea means: 1 Diarrhea, with one or more of these symptoms: Watery stools. 2 The diarrhea could be continual. 3 The diarrhea can also be off and on, with some good days followed by some bad days. 4 Your dog might act sick during the worst bouts of diarrhea, while other dogs might act normal the whole time. Consider frequency, duration and character of vomiting, age and overall health of the dog. Other factors include appetite, attitude and other signs of illness, like diarrhea. Further things to consider would be whether the dog might have eaten som... An occasional, isolated bout of vomiting may not be of concern. However, frequent or chronic vomiting can be a sign of a more serious condition, such as colitis, intestinal obstruction or parvovirus. If your dog's vomiting is not an isolated incident, please bring him to the vet right away for a complete examination and diagnostic testing. Don't induce more vomiting in an already vomiting animal, because you can incite a worse vomition response. If your pet has lost consciousness and/or if she's very weak or has trouble standing. Do not induce vomiting in this situation because aspiration pneumonia, which can result when an animal inhales vomit into its lungs, can become a secondary problem. Query: how long should you wait when dog is vomiting
As long as your dog is acting normally and nothing else appears to be wrong with him, you can treat his vomiting by withholding his food for six to 12 hours if he is a small dog or puppy and for 12 to 24 hours for all other dogs.