Thank you for using Ask a doctor service from Doctor spring.
Yes, most probably you might be suffering from a condition called dyspepsic gastritis with flatulence.
I would advise you to keep a regular healthy food habits, do not skip meal, and avoid spicy food. Eat on time. Avoid taking alcohol often and try to quit smoking. Reduce stress level at work and home. Try practising yoga and meditation. Add more fibre in your diet. You could also a course of antacid therapy for 7 days with Tab pantoprazole 40 mg half and hour before food in the morning and night. This can give you a good relief from flatulence on long term.
Hope this helps, feel free to ask if you have any further questions.