How do I fix bad posture?

See below. Work with a physical therapist or a yoga therapist. They can help you learn what good posture looks like and what exercises you need to do to attain a better posture. Once you get the "feel" of good posture, repeated attention to this will change your old patterns over time.