As with other drugs, famotidine can cause side effects, such as headache. Famotidine is available as the brand-name over-the-counter drug Pepcid AC. However, only certain strengths are available.