Although PPIs and H2 receptor blockers like Pepcid (famotidine) both decrease the production of stomach acid, PPIs are considered stronger and faster once in the body for a few days. Even so, H2 blockers have their place in treatment as they can reduce nocturnal acids that contribute to peptic ulcers. They also appear safer to use in intubated patients in intensive care units.