Hello...
Proper ergonomics is the key to avoid long sitting working hours...
Instead of sitting on bed try to sit on a proper chair with back support...
Practice stretching exercises in between ur work.. keep changing position to avoid stress on particular set of muscles..
Next Steps
take hot / cold fermentation on the painful area 3-4 times a day for atleast 10-15 mins
Health Tips
no need to avoid pillow while sleeping if u have habit of it...
practice proper ergonomics ... n c a physiotherapist as soon as possible.