 frequent heartburn i would drink milk i would sleep upright with more pillows but that painful burning stayed so i made prilosec otc part of my morning routine with just one pill each morning prilosec otc prevents excess acid production blocking heartburn day and night now i have a new nighttime routine one pill a day 24 hours zero heartburn with prilosec otc it's possible while taking prilosec otc uses directed for 14 days to treat frequent heartburn not for immediate relief i made prilosec otc part of my morning routine