Caraman,
I've suffered the discomfort of food poisoning twice in my career. Both were acquired whilst ON DUTY, once on the aircraft, once from food from the terminal.
Get to know the safe foods, i.e. those least prone to botulisms etc., and stick to these for a reasonable period before and during duty.
Regards,
Old Smokey