A stomach ulcer could go away on its own, but this is less common. More often, the symptoms of a stomach ulcer continue for weeks or even months until a person seeks treatment.