This varies by phone model, in Supersets and most IP phones, it is done via the Superkey.
On analog phones and some IP phones, it is done by dialing the call forward access code (*03 is default), the condition (1 is all calls, 2 for busy, 3 for no answer, 4 for busy/no answer), then the destination number.
Remember that you cannot forward directly to an outside number.