Peanut allergies

My son has a pretty bad allergy to peanuts.  It is really inconvenient for us and I am wondering how much of this is his fault and what we can do about it.