If you’re experiencing neck pain, it could be the fault of your pillow. Especially if it's old, it might not be supportive enough anymore.
Swapping for a new pillow doesn’t mean your neck pain will magically go away, though. Pillow preference is personal, and what works for one person might not work for you. So a bit of experimenting is to be expected.
Additionally, not all neck pain is the fault of a bad pillow. If a new pillow doesn't seem to help, be sure to talk with your doctor.