First, change the way you sleep. First, take off the pillow temporarily and sleep. Many people hunch over because the pillow is too high.
Second, please practice pull-ups in the gym, which will help to tighten the back muscles and achieve correction;
Third, when sitting in a chair at ordinary times, remind yourself more or ask people around you to help remind yourself. Remind yourself as soon as you stoop.