Frequent heartburn can be treated with a proton pump inhibitor (PPI) like Nexium 24HR. Nexium 24HR stops the production of acid before it starts. By turning off many of the pumps that produce acid, one pill a day is all you need to control frequent heartburn.4 This treatment may take 1-4 days for full effect. Learn more.