If there is strong family history of allergic disease (i.e. if either parent or a previous child has suffered from hayfever, asthma, eczema or other allergy), then it may be advisable to avoid peanuts or foods containing peanuts during pregnancy and while breastfeeding in order to reduce the risk of the infant developing a peanut allergy.