Because of your long time work on computer your trapezius muscle are become tight and spasmodic
Consult physiotherapist and start taking treatment for neck like isometric neck exercise, stretching and strengthening exercise for neck
Definitely you will feel better after taking physiotherapy treatment
Next Steps
You can also apply ice over that painful area