Sleep on your back

Sleeping on your back is the best position to let your entire spine rest comfortably. If you prefer to sleep on your side or on your stomach, make sure your pillow is not too high-around 4 to 6 inches thick. This will prevent your head and neck from turning unnaturally to either side.

Position your computer screen at eye level

Sit comfortably in your office chair in front of your computer and close your eyes. When you open them, your gaze should be directly in the middle of your computer screen. If it is not, use books or other items to adjust the screen height. 

Do not allow your head to drift forward over your shoulders. And don't forget to take frequent breaks—get up and move around at least every 30 minutes.