Pill Question

i’m sorry this is honestly a really stupid question and i don’t want hate but, if my SO is taking antibiotics can that affect the pill during sex?

also can almond milk affect the pill?