With one Prilosec otc® pill a day, you can block frequent heartburn symptoms before they strike for a full 24 hours of heartburn relief. That’s because Prilosec otc fights a heartburn day and night by shutting down many of the acid pumps in your stomach. it’s the all-day, all-night heartburn protection you need.