Pillow for flat head?

Has anyone used a pillow to help prevent/correct flat spots on your baby’s head? Any recommendations?