Hello,
Thanks for your query.
According to your history and complains yes such kind of pain can due to compression of nerve and muscle
sprain due to bad posture.
When such patient comes to my hospital we usually take
x ray spine to see for severity of nerve compression.
Another differential can be nerve compression due to disc bulge which may need MRI for confirmation.
Medication like methylcobalamine with
muscle relaxant and
analgesic will reduce pain, you can take them consulting your treating doctor.
You may consult physiotherapist for further guidance. He may start TENS ,or
ultrasound which is helpful in your case.
You may need to take rest for early healing.
Some exercises which can be done after pain has reduced include- gradual neck rotation, touching your ears to shoulder, shoulder shrugging exercises.
I do hope that you have found something helpful and I will be glad to answer any further query.
Take care