This was something I actually worked on during the pandemic as I put together a standing desk, better ergonomics, etc. I had been a pretty bad hunt and peck typer, especially with my right hand. (Left hand was maybe more accustomed to staying put due to WASD).
For correction, I think it has come down to making a conscious effort to position my hands correctly and not move my wrist/elbows. It was slow WPM for at least a couple days, but I quickly built confidence and have really gotten more efficient. I sometimes slip back to my old style but I can usually correct that pretty quickly.
For some reason it’s very satisfying when you do start typing correctly, almost like playing the piano or something.