Thanks for your query
You might be having gastroesophageal reflux disease
Following investigations will help in diagnosis:
24 hours esophageal pH monitoring.
Barium swallow XRay
To get relief --
Eat smaller meals at a time
Avoid acidic & rich spicy foods
Decrease weight if you are obese
Sleep on the leftside and keep upper part of your body raised.
Take proton pump inhibitors like Omeprazole , Pantoprazole
or Rabeprazole to decrease gastric acid
Anti reflux surgery like Nissen fundoplication
may be needed is severe cases.
Get a checkup from a gastroenterologist . Don't selfmedicate .
Update here how you stay.