dog vomit now and then is common for dogs, for many minor or strong reasons.For example, your dog may like to look for food in the garbage and then vomit as a way to get rid of the rotten food in his stomach.However, if your dog vomiting all time and constantly, This can be a sign of a serious condition, such as infection, pancreatitis, toxins, cancer, or gastrointestinal obstruction.but never forget to take him to veterinary when vomiting not stop and know when to seek appropriate medical attention.
and that is what u should do when u see ur dog vomiting
1/Providing urgent care
1-Check for shock.
If your dog shows signs of trauma, your dog may need urgent medical treatment.
Pallor of the skin and gums;
Difficulty getting up and walking.
Reluctance to move his head.
2- Keep your dog warm and comfortable.
After your dog vomits, make sure that he has done nothing wrong. Try to make him lie down and rest. Put a blanket on it and give it plenty of focus and support if your dog looks cold or trembles.
Let the dog feel that there is no problem with it. Help him to rest on the floor, so he doesn’t have to try to get up or walk around.
3- Clean your dog’s dirty fur with a warm, damp cleaning cloth.
Dry vomiting can lead to tangling of your dog’s hair, so cleaning it is important. Do this as soon as your dog is resting a little, and stop cleaning if your dog is tired because of bathing.
You may want to put puppy cushions or old towels under and around his chin, so that the carpet doesn’t get dirty when it vomits again. Some dogs treat puppy cushions as suitable places to eliminate need, which may ease their anxiety about becoming dirty if they know they have vomiting.
Watch for signs that your dog may vomit again. Keep your dog under your eyes after vomiting, where frequent vomiting needs medical attention. Signs of vomiting again include the dog’s attempt to vomit, make a noise that looks like something is stuck in his throat, take harsh or rigid positions, or walk around aimlessly.
1-Get immediate treatment for drumming.
If your dog vomits and nothing comes out of his stomach, it may mean that your dog has a life-threatening condition called drumming. Her symptoms include repeated attempts to vomit without actual vomiting and hyphae coming out of the saliva (because he cannot swallow it).
Your dog needs emergency medical treatment for drumming, which can kill the dog within hours if not treated.
2- Check for drought.
Once your dog has vomited,he may feel nausea that prevents him from wanting to drink, as well as vomiting fluids, which can cause dehydration if the amount of fluid he has lost is greater than the amount he takes. If your dog shows early signs of dehydration, give him oral rehydration salts mixed with water every few hours throughout the day.
If dehydration does not improve, seek medical attention.  Early signs of dehydration include:
Dry mouth, gums or nose.
Noticeable laziness (overwork).
Dryness or exophthalmos.
Lack of elasticity of the skin (the skin does not come back immediately if you pinch it a bit and then leave it)
Weakness in its posterior (late stage of dehydration).
Unbalance when walking (late stage of dehydration).
3- Know when to contact your veterinarian.
If the vomiting is simple and clear, as it happens after picking up food from the garbage, in most cases you can better care for your sick dog at home, by providing fluids and preventing food. However, you should always watch for signs that your dog needs urgent medical attention, including:
Try to vomit with nothing out of his stomach.
the Vomiting once or twice while boredom and depression remain on your dog.
and Vomiting for more than 4 hours or inability to retain fluids.
Vomiting blood which may indicate a serious ulcer in the stomach wall.
3/Identify and evaluate the cause of vomiting
1-Distinguish vomiting and regurgitation to determine appropriate treatment.
Regurgitation is the excretion of ingested food, as occurs when the pharynx is clogged, or esophageal diverticula and can occur in special cases of indigestion and can be associated with flatulence as a result of ingestion of air.
Dogs can usually be gagged by undigested food coming out effortlessly from the abdomen without showing signs or other diseases.
If your dog falls, you may just need to take his food out on the floor so that gravity helps pass the food to his stomach. However, if your dog vomits strongly the contents of his stomach (severe vomiting), then his muscles contract. You will notice that your dog is curved, and the smell of vomiting may seem rotten.
Regurgitation is usually a sign of esophageal or other problems in the early stages of digestion, such as when dogs eat too much and too quickly. In this case your dog’s food is undigested and tubular.
If your dog regularly shrinks food, he or she may have a long-term medical condition, so place the food higher up on a chair, but also let your vet examine it.
2- Know the causes of vomiting .
Consider your dog’s diet, behavior, feelings, and recent environmental conditions to determine what may be causing your dog to vomit. For example, think about the last times you took him for a walk and the possibility that your dog might have picked up an animal’s body from the garbage and ate it or had food disposed of in the garbage.
Vomiting can be a common symptom of litter bowels, as your dog is eating unhealthy things that cause his body to expel rotten food. However, if it continues to vomit, there may be a more serious cause among the following:
Bacterial infection of the digestive tract.
and Severe constipation.
or mybe Severe renal failure;
Severe hepatic failure.
The small virus.
Ingestion of toxic substance.
Reaction to a drug.
3-See if the dog vomiting only once or happened several times.
If your dog vomits once, then eat normally and protrudes regularly, it may be a single incident.If you vomit more than once throughout the day or continue for more than a day, you should take it to the vet immediately.
Continuous and repeated vomiting should be examined more thoroughly by your veterinarian. Your veterinarian should be able to diagnose the condition by performing a combination of tests such as x-rays, blood analysis, stool analysis, urine analysis, ultrasound, and double contrast (barium imaging).
4. Check vomiting to determine the cause of vomiting.
Look at the vomit and look for strange things like wrapping paper, pieces of plastic bag or bone fragments (you shouldn’t give your dog real bones because they usually cause vomiting), and so on. Take your dog to the vet immediately if you see blood in the vomit.
Your dog can lose a lot of blood quickly and it can be fatal.
*If there are no strange things, look at the shape and density of the vomit; is it an undigested food or more liquid in its form? Write down what you’ve noticed so you can tell your veterinarian if vomiting persists.
*If you can show an image or sample of vomiting to your veterinarian, it may help to diagnose your dog’s condition. A vomiting picture may allow the doctor to see its size, which may affect treatment.