I didn’t use pillows for either of my babies, due to risk of suffocation. I varied the resting positions of the head when putting baby to sleep, and neither of my kids had flathead in the end.
My toddler got a pillow at about 2? Haha.. but the guideline says after 1yo