Welcome to Healthcaremagic.
The problem you have is typically seen in acid peptic disease
where you may have gastritis
with or without an ulcer.
Do get an Endoscopy
done which shows the interiors of the stomach and confirm the fact that it is acid induced problem .
Taking antacids for 2 to 3 weeks will solve your problem if it is due to gastritis.
Wish you good health.