The answers to your two questions depends on how severe your complaints have been, and on whether there has been any ulcers, whether there are any coexisting medical conditions.
However, for lasting remission, I advice you to make healthy eating part of your life. Good diet, plenty of water, correct meal times, right portions, limiting alcohol etc help much.
You should recover such that once in a while you can enjoy spicy foods too.
If you cant help but eat spicy foods, make it a point to take enough salads to compensate. Cucumber is a wonder food for stomach burn.
Next Steps
Make sure your course of medication is short .
Nobody wants to depend of drugs and have a diet restriction forever.