Most airline's carry Epi pens in their First Aid kits if things do happen but obviously it'd be easier if it didn't happen in the first place. I've flown with airlines that have a no-nuts policy and also that have a nuts-for-all one too and never had anything happen