Antibiotics are not taken with food, but some are taken before eating and others are taken after eating, which must be taken before eating: penicillin, flucloxacillin. Antibiotics to be taken after food: metronidazole, trimethoprim, doxycycline, nitrofurantoin.