A sliding hernia happens when the top of the stomach squeezes up into the space above the diaphragm. This is the most common type of hiatal hernia. A paraesophageal hernia happens when the top of the stomach folds up against the esophagus, creating a pouch. This is not very common, but it can be serious.