???Cocooning helps protect a newborn by encouraging everyone who will be in contact with the infant (mom, family members and any other caregivers) to be vaccinated against pertussis, preferably before the baby???s birth or discharge from the hospital,??? says Dr. Healy. ???The idea behind cocooning is to provide a protective shield around the baby against the disease during the first year of life.