Medication for heartburn needs to be applied under the guidance of a medical professional. Acid suppressants such as PPIs and histamine H2 receptor antagonists can be used to suppress stomach acid; gastrointestinal stimulants can be used to relieve GERD; antacids help to reduce stomach acid to relieve symptoms; and gastric mucosal protectors help to relieve symptoms.