Hey Nandini.
Your problem seems to be related to acid reflux.
Most important thing in acid reflux is lifestyle modification, which includes strict timing for food, and avoidance or food that increases acidity.
Antacids will be helpful.
Next Steps
Medical treatment can be started if such modifications are not helping alone. Kindly consult for the same