It feels near impossible to sit perfectly all the time, especially when you’re stuck at your desk all day in front of a computer. Your posture is usually your last concern.
While perfect posture is obviously the ideal, a simple trick to go some way to preventing back pain or damage is to simply lift your head. Focus on aligning your head and neck right above your shoulders, and keep your chin pulled in to avoid straining forward.
It also helps if you sit as close to your desk as possible, to keep you sitting reasonably straight. Your back will thank you later.