Peptic ulcers are a break in the lining of the lower part of the esophagus, stomach or upper part of the small intestine that may cause bleeding. They may be caused by bacterial infections and long-term use of nonsteroidal anti-inflammatory drugs, such as aspirin and ibuprofen.