Thanks for writing your query.
After reading your post, it seems that you are having your symptoms due to cervical spodylosis.
In this the pain from neck can be radiated towards arm, back or head.
I would suggest that you should get a MRI of your neck done and consult an Orthopedician.
is helpful but should be started under the supervision of the orthopedicain.
You can take pain killer like Ibuprofen
one tablet twice a day after meals along with a muscle relaxant
like Chloraxazone and an antacid
Hot fomentation and application locally of pain relieving gel will be beneficial.
Avoid very thick pillows and donot lift heavy weights.
Also donot work on computers for long durations and dont bend your neck forwards while working.
I hope this is helpful to you.