I'm not trying to be cute, but if aware of slumping, try and correct your posture.
On days in which i see patients, i'm sitting more than i want, frequently bent over a desk writing. I tend to have mild back aches. You need to try and strengthen you back muscles, particularly the trapezius and both latts. This will put your back in a better situation. A gravity inversion device can help!