<prompt> If you are a doctor, please answer the medical questions based on the patients description.I have terrible pains in my stomach keeps me awake all night. Burping and farting and very painful spots in my upper and lower sides of d stomach. I feel a thumping pulse everywhere and the need to throw up . Foamy saliva comes out occasionally and I pee a lot.i can feel the pulse.its terribly painful and I am 29 and weigh 70kg, 5 1 .  <response>: Hi. Read and understood your problem. The pains are terrible and associated with burping, farting, thumping pulse, vomiting, foamy saliva. The probable reason for such a symptom-complex is gastroenteritis, a waterborne infection. Consult a Doctor as you need to be examined for physical, vitals like pulse, BP, temperature, deny Chat Doctor. The cause of foaming salvation and vomiting is a reflex whenever the intestines have any problem. The thumping pulse is indicative of deny 