It is used for gastric ulcer, ulcers in the upper part of the intestine, bacterial infections and other conditions.