You can't straighten your legs overnight. If you want to do this problem, you have to stick to it for a long time and work hard for it. Pay attention to your sitting posture in daily life. One method I know seems to be commonly used in schools and majors that require temperament and appearance, such as dance academy, aviation, choreographer and so on. People around you should also know. Find a straight and smooth wall, a 90-degree wall, not a wall with slopes and uneven patterns. Stand in front of that wall for half a day. You also need a site. Heel against the corner. Try to lean back and stick your whole back against the wall. I'm looking for an A4 paper clip in the middle of my calf. Stand with your feet parallel, and your calves are clamped in the middle. We can't let A4 paper fall off. Then keep your posture and hold on. Keep practicing every day, and it will be effective after a while. I don't know how long it will take. I have never tried it myself.
In daily life, we should also be careful not to cross our legs. To some extent, crossing your legs also affects your leg shape.