What are ways to correct bad posture?

Exercise. Bad posture is usually related to bad habits. Try using a lumbar support when sitting in a chair to help keep your shoulders back and neck neutral. Another option is a posture support to wear under your clothes. Try focusing on exercises that strengthen the core muscles and muscles in your back, especially the muscles between your shoulder blades.