Injury to the soft tissues including muscles, ligaments and tendons is the most common cause of shoulder and neck pain. For example, degenerative arthritis of the cervical spine can pinch nerves and cause neck and shoulder pain.
Also, degenerative disc in cervical spine (cervical spondylosis) can cause disc herniation resulting local neck pain and radiating pain (cervical radiculopathy).
If you have any issues with pain, you should seek help from doctors and physiotherapists.
Here are some exercises for managing neck and shoulder pain: