If your digestion is not moving along like it should, you'll get your symptoms, so that means you may be constipated, which the three ways to prevent that is: Drink enough water daily, eat enough fiber daily, and exercise regularly. Some medications, too, can cause this, so review side effects and adjust accordingly.
If your digestion is moving well, then you probably have a virus, kind of like a flu, and that will burn itself out in time, there are no antibiotics for such things. If you have, say, a bacterial infection in your gut, a regular family doc can take some stool samples and tell if you need medicine to get rid of it.
But if all in the world that is going on is lots of gas, one way to at least ease that symptom is to drink an ordinary Original Alka Seltzer. But to have throwing up with it suggests one of the first two paragraphs I've put as your problem.
The Content on this Site is presented in a summary fashion, and is intended to be used for educational and entertainment purposes only. It is not intended to be and should not be interpreted as medical advice or a diagnosis of any health or fitness problem, condition or disease; or a recommendation for a specific test, doctor, care provider, procedure, treatment plan, product, or course of action. MedHelp is not a medical or healthcare provider and your use of this Site does not create a doctor / patient relationship. We disclaim all responsibility for the professional qualifications and licensing of, and services provided by, any physician or other health providers posting on or otherwise referred to on this Site and/or any Third Party Site. Never disregard the medical advice of your physician or health professional, or delay in seeking such advice, because of something you read on this Site. We offer this Site AS IS and without any warranties. By using this Site you agree to the following Terms and Conditions. If you think you may have a medical emergency, call your physician or 911 immediately.