Briefly...
1. Dry fire practice. Do it. Do it every night. With obvious strict attention to safety, practice dry firing on a target. Do it slowly with attention to detail. Forget about foolishness such as drawing, speed, etc. In the beginning... practice learning to shoot accurately... correctly. Easier to learn good marksmanship habits than to unlearn bad habits.
2. Watch other people who know how to run a gun. Pay attention to what they are doing/not doing, etc. Ask questions of the folks who actually can produce results on target. Listen politely and say thank you to them... as well as the ones who don't know what they're doing. Pay attention though... to the ones who are not just talkers.
3. When you are at the range, pay attention to what you are doing. Try not to be distracted by whatever is happening up or down the line. Shoot slowly and deliberately concentrating on the shot. It's like golf... what happened with the last shot is irrelevant to what will happen with the upcoming shot. A good shot can be followed by a bad or good shot. It's all in your hands.
4. Start shooting at 4-5 yards. Work at your ability to hold a tight group... five shots at a time is plenty. When and only when you can keep a nice round group, extend the range to say 7 yards. Repeat the process. Then move on to 10, 12, 15, 20, 25 yards.
5. Focus on and develop your marksmanship skill starting close so that issues such as the actual mechanical accuracy of the pistol, quality of the ammunition, etc., are less a factor in your on target results. As you develop your skills, you will find what you have learned is immediately applicable to getting good/better/best results on the range with your pistol. As well these skills learned and rehearsed will be immediately transferable to your shooting of other pistols as well as rifles, etc. JMHO. Sincerely. brucev.