How long should you use PPIs? Be aware that the OTC proton pump inhibitors should only be used as directed for 14 days for the treatment of frequent heartburn. If your heartburn continues, talk to your healthcare professional. No more than three 14-day treatment courses should be used in one year.