It is possible to prevent neck pain in the morning by using a pillow that provides medium-firm or firm support. It will support maintaining the head and neck aligned with the spine. An excessively soft pillow may ultimately provide some level of comfort, but it is more likely to lose its loft during the night, which can throw off your head, neck, and back alignment.