Acid reducers decrease the amount of acid produced by the stomach. They help relieve heartburn. There are several types of nonprescription acid reducers on the market. Examples include H2 blockers (such as famotidine and ranitidine) and proton pump inhibitors (such as lansoprazole and omeprazole).