Sounds like hyperacidity as Pan D is helping.
Next Steps
you can continue that twice a day for 2 -3 days. but keep a watch on other symptoms and visit your doctor for medical consultation.
Health Tips
Avoid being empty stomach for long, avoid spicy foods and tea or coffee. Drink more water, suck ice if you feel better with it and eat soothing foods, rice, banana, fruits.