Burping that gets worse just before meals usually happens due to one of the following:
Gastritis or acid build up in an empty stomach
When the stomach stays empty for 4 to 5 hours, acid and gas accumulate.
This releases as burping before the next meal.
Swallowed air (aerophagia)
When hungry or anxious, many people swallow small amounts of air without realizing.
This increases burping before meals.
H pylori related acidity
A common stomach infection that can cause
gas
bloating
burping
empty stomach discomfort
Mild reflux or indigestion
If the lower esophageal valve is a bit loose, gas escapes easily as burps, especially when the stomach is empty.
Diet pattern
Tea, coffee, fast eating, carbonated drinks or spicy foods can worsen burping.
Why walking after dinner helps but not before meals
After dinner your stomach is full, digestion is going on, gas has a way to move down smoothly and walking helps.
Before lunch or dinner your stomach is empty, so gas tends to move upward as burps.
This pattern is common and not dangerous.
Next Steps
What you can do to reduce burping
One. Eat something small between meals
Do not keep the stomach empty for more than four hours.
Have a small snack around 11 am and 5 pm.
For example
banana
few nuts
toast
curd
biscuit
This prevents acid build up and reduces burping significantly.
Two. Take an acid reducing medicine for a few days
Pantoprazole 40 mg or Rabeprazole 20 mg
Take once daily before breakfast for seven to ten days.
Three. Use a digestive enzyme after meals
A digestive enzyme tablet or syrup after lunch and dinner can help reduce gas formation.
Four. Reduce triggers
Avoid carbonated drinks
Limit tea or coffee on empty stomach
Reduce very spicy or oily foods
Eat slowly
Avoid chewing gum
Five. Increase water intake
Small frequent sips help wash down swallowed air and reduce burping.
Six. If symptoms persist
You may need a simple test for H pylori or a course of medicine for it.
Health Tips
Only if you have
severe abdominal pain
vomiting
weight loss
black stools
chest pain not related to meals
Otherwise burping without other symptoms is usually functional and harmless.
Most likely cause in your case
Empty stomach acidity and swallowed air are the most probable reasons.
Your walking habit is good.
Just add small snacks and a short course of acidity medicine and you should feel better in a few days.