I think, "best" depends on the situation. If possible, I believe covering the fire is the safest way. I have a friend who tried to move a grease fire in a pan to the sink and got burned badly. In that case, he should have just covered the pan.
I'm not sure, but I think fryers have lids.