I have oesophageal ulcers and duodenitis, diagnosed by Gastroscopy exam. I have been prescribed 40mg daily for 8 weeks then follow-up Gastroscopy to check efficacy of drug regime. Seems reasonable to me to wait to see outcome. My reason for adding to this blog: Only been on these pills for a few days and am having headaches (though not severe); and have now become aware of duodenal pain;.