Shoot at 25 yards. Zero the scope, write down the adjustment settings.
Repeat at all ranges of interest.
When you set up on a target at one of those ranges of interest, look at your chart and make the appropriate sight setting.
If your scope has mil dots or other range estimating and compensating reticle features, log what they are good for.
A .22 has a pretty high trajectory. Your window of ranges at which you can shoot without adjustment or holdover is narrow, and gets narrower as the range gets longer.