Acid-controlling medicine including antacids, proton pump inhibitors, or other GERD treatments may help relieve headaches from acid reflux. People with GERD should avoid NSAIDs since these medications can make the symptoms of acid reflux worse.