MedlinePlus lists tree nuts, including pecans, among the foods that most often cause food allergies.
Pecans are frequent in pies, cookies, and ice cream. Reactions can be serious.
Avoid pecan if you are allergic and check labels for tree-nut ingredients.