I assume you're referring to the interior of the slide and/or the frame of the gun. Get some solvent and soak a patch with it. Using your finger, wipe it around ins there, over everything that's fouled. There's a gun cleaning set from Outer's IIRC that is only a set of plastic picks. Using this or something similar, make sure you get a solvent soaked patch in all the corners and grooves of the slide rails to make sure they're cleaned out. Some places are better served using a brush with some solvent on it. After you've wiped it all down with solvent/patch, use a clean patch and wipe it all again. This gets rid of the solvent and all the powder fouling that it broke up. After you've got all the junk out, put a drop of oil on each rail and let it run down the length of the rail by gravity. I find this is the perfect way to lube the rails. Wipe off the excess that drips at the end. Get some oil on a clean patch and wipe the outer barrel surfaces, leaving maybe a tad more on the lugs. Put a few drops inside the slide, and wipe it around to cover it all. Put the barrel back in. Wipe a little oil on the spring and guide rod, and put that back in.
Now, for the frame, do all of the above in terms of cleaning, and then apply a little bit of oil on all the metal parts of the fire controls, springs, etc. Once that's done, reassemble the two halves and you're good to go.
I never understood why people clean WITH lubricant. The old lubricant is holding debris suspended in it, and it needs to be removed. That gets accomplished with a solvent. By adding lubricant to the surface, you're just making a bigger mess, and your gun is not going to truely be clean. As long as you're careful to reapply the lubricant where it's necessary, you don't have to worry about things not getting any lubricant.