Medications are the most common treatment options for a hiatal hernia. Medications are used to treat symptoms of acid reflux by neutralizing, reducing, and blocking stomach acid production. Over-the-counter antacids, histamine blockers, and proton pump inhibitors are often effective in helping you manage hiatal hernia symptoms. If prescription medications fail to treat the symptoms, surgery may be needed to repair the hernia. There are two types of hiatal hernia surgeries - thoracotomy or abdomen laparoscopy. During surgery the upper stomach is pushed back and the hernia opening is repaired. In rare cases, emergency surgery may be needed to treat a hiatal hernia that has become incarcerated or strangulated.