It can be due to compression of nerve at cervical region. Generally occurs along with tingling /numbness. It occurs due to long sitting /forward neck bending /travelling /driving /computer work /desk work/weight lifting.
Next Steps
Consult a physiotherapist.. Ultrasonic therapy +IFT +Heating therapy +traction (may require) +some strengthening +stretching exercises will be helpful for sure.
Health Tips
At home.. Rest +hot water fomentation +pain killer gel +no long sitting /forward neck bending /travelling /driving /computer work +no cold exposure +no manual exertions +no weight lifting +no jerks +correct posture (sit tall).