Proton pump inhibitors are the most common perscribed medications for GERD. They work by helping block the production of acid in the stomach, they also protect the esophagus from damage and allow it to heal. There are many more medicines like H2 blockers, antacids, prokinetics, and many more.
It is also known a heartburn
gastroesophageal reflux is the return of the stomach's contents back up into the esophagus.
http://www.webmd.com/heartburn-gerd/america-asks-9/treatment-remedies
http://www.webmd.com/heartburn-gerd/guide/reflux-disease-gerd-1
http://www.mayoclinic.org/diseases-conditions/gerd/basics/causes/con-20025201
This happens when the lower esophageal sphincter (the muscle that acts as a valve between the esophagus and stomach) becomes weak or loosens when it should not. Which allows the stomach contents to go into the esophagus.