Answer:
Your body makes you vomit because you're ill and it needs to get something out of you. There's nothing you should really do to stop the body from doing this, except of course find somewhere less public. Make sure afterwards you go to the doctors and get yourself diagnosed however, as it could be the symptoms of something serious (or just a common infection).