I don't have a particular set of magic steps apart from being physically active and keeping a solid balanced diet.
Another thing is that you need a very solid ergonomic work chair, doesn't need to be super expensive, as the offer is wide, but one that makes you feel comfortable, makes you sit straight and don't make your back stiff.
They say it's also very useful to stretch one's back and neck frequently.
I generally try to slip in a 35 - 45 minutes of high-intensity home work out into my daily schedule, right before the lunch.