### Human:\nwhat is the difference between famotidine and omeprazole?\n\n### Assistant: famotidine (pepcid products) is in a drug class called h2 blockers. omeprazole (prilosec) belongs to the proton pump inhibitors. these medications work two different ways to decrease acid production and flare-ups with stomach issues. both medications can be found over-the-counter. famotidine is typically taken 1 to 2 times daily while omeprazole is taken once daily (may be dosed differently than recommended in over-the-counter packaging label by prescriber). it is also important to keep in mind that since they are two different medications the side effect profile will be different.