Best way is to use a flywheel lock tool which bolts to the upper part of the rear housing and keeps the flywheel from spinning. Otherwise get a couple friends to help secure the engine while you're breaking the flywheel nut loose, I've done that many times.