Do not swallow whole. Famotidine can be taken with or without food. To prevent heartburn and acid indigestion, take famotidine 15-60 minutes before eating food or drinking beverages that can cause ...