Apply a drop of liquid lubrication at the point where the inner-bike cable emerges from the outer-cable and work the brake cable or gear cable to drag the lube into the outer-cable. For derailer gears you need to lift the back wheel off the ground so you can pedal to shift the gears.