Friend, vomiting can be caused by many different medical conditions. It will be difficult for me to determine the exact underlying cause without a hands-on examination and some testing, I am sorry. But, common causes are pancreatitis, gastritis, dietary indiscretion, ingestion of a foreign body, infections, etc. to name a few causes. In any case of vomiting, the first thing to do is give the stomach time to rest. This is what you can do:
1- Do not give things like Pepto Bismol or Imodium. Start him on Pepcid AC (famotidine) 10mg 1/2 tablet every 12 hours for the next 2-3 days. You can buy Pepcid AC over the counter in any pharmacy.
2- No food or water for 8-12 hours. Need to give his gastrointestinal tract time to rest.
3- After 8-12 hours offer a small amount of water. Wait half hour, if no vomiting, offer a small amount of rice (50%) and boiled boneless chicken or ground beef (50%) 4-6 times a day. Keep him on this diet for several days then wean him into his regular diet.
4- If he continues to vomit after doing the above he will need to be seen by your family veterinarian for a hands on examination.
My goal is to provide you with excellent service. If you have any follow-up questions don't hesitate to ask. If finished, please take a moment to rate my service. See you again soon!