An ulcer can go through all the layers of the digestive tract and form a hole (perforation). This is called a perforated ulcer. This is a serious health problem that needs urgent medical attention.