Famotidine is an H2 blocker. It decreases the amount of acid being produced in the stomach. If you are looking for something to treat the ulcers of the stomach and intestines, Famotidine is the best choice. Apart from that, Famotidine helps in the prevention of ulcers as well as in the treatment and prevention of heartburn. It is used to treat acid indigestion as well.