Cimetidine treats indigestion by blocking histamine receptors in the gut, which decreases the production of gastric acid. It also appears to block histamine receptors in cancer cells, as well as supporting the immune system’s defenses against cancer.