Here's a little trick to consciously have good posture. When stood up/ sat down, lean back and look up as if you were trying to look behind you while facing forward, Now tilt your head down, maintain that back and chest out position.