Start close… say 5 yards or so. Fire 2 -3 five shot groups, paying close attention to sight alignment and trigger squeeze (or press or pull…whatever term you wish to use).
Then, move back to 10 yards and repeat the process.
Then to 15, the 20 then 25, etc.
Always strive to shoot the smallest group you can. At this point you are looking for accuracy.
Once you can reliably hit an 8″ circle at 25 yards, start increasing the speed you are shooting.
Shoot from cover. Hitting at longer ranges is simply a focused application of the basic shooting fundamentals… particularly sight alignment and trigger squeeze.
Get out there and practice!