Preventing anaphylaxis involves avoiding known allergens and carrying emergency medications such as an epinephrine auto-injector. Individuals at risk should also wear medical identification jewelry and consider immunotherapy (allergy shots) for certain allergens under medical supervision.