Hi , consult with physiotherapists.
Right now UST+TENS followed by COLD PACK should be beneficial for you.
Postural care, and rest must.
Avoid too high / too low length pillow. Choose pillow which maintain your neck alignment.
Next Steps
understand cause of your pain.
modify work environment.
maintain proper height of your table / laptop/ chair/ forearm rest etc.
postural care during work, sitting, standing, sleeping etc.
Health Tips
regular exercise is beneficial.