Costarib tablets contain rebamipide, which is effective in suppressing stomach acid and reducing inflammation. Therefore, it is used to treat acute stomach infections and also treat and prevent stomach ulcers.