Your doc may be right. I was prescribed reducing meds once for a chronic cough. It did stop my cough. In my case, I also suffered for many years with heartburn, but at the time, did not see the connection. I now believe in a controlled carbohydrate approach to cure my symptoms which means I don't need the medications.
Best of Luck