If your heartburn isn’t responding to over-the-counter PPIs after a week or two, you should consult a health practitioner who is likely to prescribe a higher dose of PPIs and/or evaluate the cause of your heartburn, based on which the best treatment options for you can be recommended.