If you're out on a gig and no switch cleaner is to hand, then sometimes it's as simple as just giving the knob or fader as few brisk turns or slides. Very often we leave a knob in the same position forever and 'crud' builds up around that position. Not the be-all end-all solution, I know, but a few quick twists will sometimes settle it down such that you can carry on.