Helicon Focus is widely regarded as one of the fastest and most precise focus stacking

The Ultimate Helicon Focus User Guide: Master Focus Stacking

Lock your shutter speed, aperture, and ISO in Manual mode. Avoid changing lighting conditions.