Short-term treatment of gastric ulcer