Getting mine ready for the range I hit it with some gun scrubber
ran a bore snake through it a few times (I don't have a .17 cleaning rod. Birthday idea for all of you)

And followed the instructions on the shampoo bottle. Repeat as nessecary.
Same as I was shooting it.
Would shoot a mag full of ammo. Quick spritz of cleaner a pull or three with the Bore Snake and another mag till I was through a box.
then I went for sighting in the rifle.