People can replace Zantac with Prilosec, Prevacid, Nexium, Protonix, Pepcid, or other drugs. But, first, contact a doctor for medical advice. If you are suffering from certain medical conditions, these drugs that used to treat your condition may interact with the medicine you are taking.