Rabeprazole Tablets are used to treat symptoms of gastroesophageal reflux disease (GERD) and ulcers. GERD is when stomach acid comes back up into the esophagus, causing irritation and pain. Ulcers are caused by a loss of the protective mucous layer on the inner lining of the stomach, which can lead to bleeding and pain. The medicine works by blocking the production of stomach acid, as well as by decreasing the amount of acid that gets into the esophagus.