2 years ago, after 4 months off due to a crash, I got back on my road bike and had difficulty with posterior neck pain during rides, had a hard time holding my head up. I did easy stretches, massage and the "yes, no, maybes". It took about 4 weeks, but all settled in just fine. I'd simply lost strength from my lay-off.