Rabeprazole is a proton pump inhibitor sold (as its sodium salt) under the brand name Aciphex® and Pariet® (distributed by Janssen-Cilag).
It is used in the treatment of gastric ulcers and GERD (or heartburn). It is taken once/day along with a full glass of water (preferable 30 min before breakfast). The duration of treatment is usually 4 weeks but could be longer if the symptoms persist.
Sometimes, one may start feeling better after a few days but it is essential to complete the full course of treatment.
More on [ Rabeprazole ]

Aciphex - Rabeprazole sodium. Provides information for a treatment for heartburn as a result of erosive GERD.
Meta Description: [ Help and answers for patients with acid reflux disease. Includes information on ACIPHEX (rabeprazole sodium), a once-daily prescription medication that helps manage heartburn. Includes healthy living tips, newsletters, recipes and more ]
Aciphex - Consumer information sheet provided by the U.S. Food and Drug Administration Center for Drug Evaluation and Research.
Meta Description: [ Consumer Information Sheet ]
MedlinePlus: Rabeprazole - Features information about dosage, usage, warnings, and side effects.
Meta Description: [ Rabeprazole ]
Rabeprazole - Information from DrugDigest on dosage, usage, side effects, interactions, and drug comparisons including generics when available.