I am currently on Carafate to control my GERD and IBS. This has been a wonder drug for me. After taking it daily for 6 months, I was able to cut back. Now, I only take it a few times a month. It's like I've been given a new GI system. For someone who grew up with bleeding peptic ulcers and IBS, I now can eat whatever I want, without worrying about how my GI system will react. The only downside to Carafate is the limits on when it can be taken. It has to be taken either an hour before eating or 2 hours after and 2 hours before or after taking any other medication, as it affects the absorption of medications. But since I now only take it as needed, this is easy to work around.
I took Nexium for about 3 years to control my GERD (gastric reflux) and repair the damage that had been done to my esophagus from having GERD for 12 years. I switched from Prilosec to Nexium when I was diagnosed with esophageal inflammation and spasms. The Nexium was effective in repairing my esophageal damage and helped control my GERD. Even with the Nexium, though, I was still experiencing severe acid reflux symptoms several times a week.
I was on Prilosec for about 7 years to control my GERD. It was sufficient until I began to have esophageal spasms in 2005. (Esophageal spasms make you feel like you're choking when you're not and sometimes are accompanied by a sharp, stabbing pain, at least in my experiences.)