Hi ....I wish you a speedy recovery from your pain.....please check your pillow height and not too be too hard pillow....when you are lying side ,,,,check yourheight of the pillow ....o head is in neutral (suitable pillow for u)/slightly down (not suitable) /slightly up (not suitable)..... You need to do little free exercise of your neck like moving your neck up,down,right side bend,left side bend 10 times x3setsx1_0_1X2weeks.....it will resolve to an extent.....
Next Steps
.if still you not okay... please get professional help.....
Health Tips
Do's
1 Do free exercise of neck
2 Take proper break every hour for relaxing your neck
3 use proper system height for ensuring your neck posture
4 alter the height of your system sometimes work in sitting posture,,,, sometimes work in standing posture
5 Ensure a proper setup to work even if you are working from home....
Dont's
1 avoid prolong bending forward of your neck
2 avoid sitting slanting posture and using laptop at home
3 Avoid lying on bed and working