Dumb question…allergies

If you have an allergy to a certain food. Is a reaction only caused when ingesting it? Or does it vary person to person?