Your normal routines have been disrupted by not able to go to work or gym. This can cause you to have flare-ups of neck and back pain.
Try to force yourself to go for a 20-30 min walk couple times a day
Get an exercise ball and work core back shoulder muscles. Do them twice a day.
Learn how to stretch after sitting to long.
The bottom line develop new routines.