To avoid posture-related pain, switch positions often. Being in one position for a long time causes muscles to get fatigued faster and ache. So take breaks every 20 minutes or so to stretch, walk, or ...