Fuel filter

How do I replace a fuel filter for a diesel chevrolet 1995 2500 truck

6.2 or 6.5? in any case once you have the new element in the canister disable the fuel solenoid and hook a bleed tube to the fitting on top of the canister crank engine for no more then 15sec intervals until fuel flows out. What I am saying is there is a bleed procedure after filter replacement.