Get a stand-up desk or get up from your desk every hour or so. Set a reminder, then after a week, you’ll have created a habit. Get out of the office at lunch and walkabout.
The human body is not designed to sit for 8 hours a day. Move around, stretch and get away from your computer screen.