The advice on how to prevent peanut allergy in babies did a U-turn. Here's the scientific basis and practical tips for parents to apply the advice.