You probably already know this but "squeeze" the trigger, don't "yank" it. Squeeze when the sights are on target, stop squeezing when they drift off. This is slow to begin with but gets much faster with practice. The gun will fire, almost by surprise, when you are on-target.
FWIW: I start all new shooters with a .22 to develop good habits without worrying about recoil and flinch. My son when he started shooting, he bought a 9mm and could not shoot it well. I convinced him to put it aside for a year and shoot a .22 target pistol to learn the basics. Now he shoots both very well.