Baby with cranial helmet decorated like R2D2 from Star Wars

How to avoid your baby needing a cranial helmet, specifically avoiding plagiocephaly and resolving torticollis (tightness of the neck muscles).