Neck Pain with Rows/Presses

When ever I do heavy db rows or bb over head press. I get this pain in my neck the next day. First time it happen I could not move my head it was stuck in one place. This time I feel it but did the exercises the Dr told me to do. So I have mobility. It can be very painful to do them. He said it was from straining to hard and smaller muscles not relaxing or something?

Anyone else experience this?

I get that when I let my shoulders shrug up when doing those lifts. This would make my neck arch back. Making an effort to keep my head/neck straight and shoulders down has helped. I know I’m doing ok when I feel most of the tension along the middle of my back and my sides. Keep your chin tucked as well.