Excercise back and shoulder muscles om machines in gym
Straighten your back, roll your shoulders back, then relax. You will settle momentarily into the correct posture. Repeat this on a regular basis at work. Part of this is training yourself to reamin aware that you are slouching....