It is sensible to depressurise the fuel system first, ie. turn the engine over with the fuel pump fuse remove. The only other tip i can give you is undo the pipe unions on the filter SLOWLY, with plenty of rag to absorb any petrol that leaks out.
Oh yes and the obvious one, always disconnect the battery negative.