You can't beat 24 hours of 'zero' heartburn. Prilosec OTC is an all day treatment for heartburn. That way you can power on with your day and rest at night without concern that your frequent heartburn will flare up. That's because Prilosec OTC fights heartburn day and night by shutting down many of the acid pumps in your stomach.