The case history as mentioned in your post suggest that your symptoms may be due to production of gas in your stomach, which is also related to production of acid in stomach.
Rabesec & other antacids prevents acid formation in stomach.
& Gastrokinetic agents like Levosulpride enhances gastrointestinal motility & maintains the rhythm.
So...the medicines prescribed by your Doctor is correct...please continue them as advised.
But these medicines will only provide symptomatic relief.
And it is needed that you take certain precautions regarding your diet & lifestyle:
1. Take soft, plain, non-spicy foods
2. Drink lots of water to maintain adequate hydration
3. Avoid fast foods & gas producing food products like cabbage, etc.
4. Avoid smoking
5. Keep away stress
6. Exercise regularly & practice meditation
There is no need to worry, you will be fine.
Wishing you a good health
Thanks & take care
You can ask me a direct query on this website using the below link: http://www.healthcaremagic.com/doctors/dr-polash-sannigrahi/64925