air tools is the easiest way to do it...but if you dont have that...you can use an allen key to hold the shaft....
basically you get your socket place it on the nut...then insert allen key through center of socket, instead of using your ratchet wrench. now since your not using a ratchet wrench...