This seems to be an inflammation of the trapezius muscle,
You need to take specific medicines for it as normal painkillers do not work usually,
Next Steps
You can consult with me for the accurate list of medicines
Health Tips
Also a number of precautions and lifestyle changes are necessary to cure this