Famotidine is an acid-suppressing medication that can be used to treat a variety of gastric-acid-related conditions such as gastric ulcers, heartburn, and GERD. The most common side effect is a headache. Famotidine drug interactions are uncommon.