We report an experimental procedure to optimize the current profile of a focused ion beam probe, with a special emphasis on high resolution applications. The optimized operating conditions are given for three specific cases: specimen thinning for electron microscopy, nanoetching, and nanolithography. We present high quality membranes for transmission electron microscopy, arrays of nanoholes with reproducible dimensions of 17 nm etched on a nickel membrane, and finally nanolithography operations with a 10 nm resolution. Due to the conventional design of our focused ion beam system, the operating conditions that we have established for each nanofabrication application, should be successfully applied to a wide variety of ion columns.