Stomach ulcers can occur anywhere in the stomach but are most often located in the gastric antrum and duodenum. The gastric antrum is in the lower part of the stomach before the pyloric valve. The duodenum is the first part of the small intestine, connecting to the stomach.