Peanut butter and weaning

I totally didn't know you sould give this to babies under 1 to try to prevent an allergy.

What did u give?