Learn proper fundamentals and practice practice practice. Professional training can be useful but you can also read and learn. Proper and consistent grip, sight alignment and trigger squeeze. Trigger control is very important.
If your fundamentals are good you will get better faster. Just shooting at things without the right fundamentals will never allow you to be as good as you can be and will make it harder to improve. The percentage of people at the range that are competent with a handgun is quite small. Better to learn proper form just like golf, baseball or many other sports. There was a pro golfer who said he only practiced his fundamentals.