Duodenitis is a diagnosis that is made after endoscopy. So I presume that you have had an endoscopy done already. Sometimes there can be a bacterial infection due to H. pylori, which can be diagnosed by endoscopy and biopsy. If it is present, then one needs to treat it with appropriate medications. In any case, one may need to take acid suppressants such as Pan-D for a prolonged period up to 6 months or more. It has no side effects of concern and can be safely taken.