Depending on the severity of your symptoms and diagnosis by a healthcare professional they may recommend over-the-counter antacids or prescribe medications such as proton pump inhibitors (PPIs) or H2 blockers to reduce the production of stomach acid and alleviate symptoms.