What should I do if I have IBS and vomit?

If this is the case, the first thing to consider is dietary control, preferably a light diet with some porridge to reduce the burden on the stomach and intestines.
If there is no relief and it worsens it is advisable to seek medical attention to identify the cause after examination and treat the symptoms.