It can vary for a lot of reasons. How bad your condition is, how seriously you want to get over it, medications, and so on. Sometimes can be a few months, sometimes can be a lot longer. Make sure you keep in contact with doctor, and do your office visits.
I do not have a problem avoiding the chocolate, fast food, spicy shit, and so on for the most part. Also avoiding eating too close to bedtime because of that acid reflux crap. Cutting out Diet Coke is my main vice, but as long as you do it in moderation, and keep up with the other stuff doctor recommends, should be good as new, or atleast able to function in a few months.
Hopefully you caught yours early enough that simple moderation, bland food, and so forth will help clear it up for ya.
