Can you take Pepcid (famotidine) AC and Prilosec together?

No. Prilosec should be taken about an hour before eating anything, Pepcid (famotidine) can be taken almost any time. However it may be an overkill to take both at the same time since you would not likely get additional benefit from doing so.