H2 blockers like famotidine and cimetidine can severely reduce the effectiveness of antivirals and antifungals by altering stomach pH or interfering with liver enzymes. Knowing which drugs interact - and how to time them - is critical to avoid treatment failure.