I have used Helicon Focus in the past and was very happy with it. I wanted to do some focus work with new scenes in my layout and did not want to pay for a licence (yet) so I looked around and found a free solution that is at first glance quite servicable.
For those not used to the process, I take photos with my Samsung phone and the free Open Camera app on Google Play(available for Apple too, I think)
https://opencamera.org.uk/. You can choose the focus bracketing mode and the number of pictures you want. I used 10 for the photo below and perhaps could have benefited from more. I also set the timer to 10 seconds and mount my camera to a tripod with a cheap cell tripod bracket. It works very quickly and produces the images at various focus depths.
I then used Focus Stacking Online (
https://focusstackingonline.com/ to load the 10 pictures and stack it into a single image. It works very well and is simple to use.
Here are a few examples. I have some troublesome trees that are too close to the camera to focus but otherwise, I don't see any visible issues and the images have good focus throughout.
No affiliation with either, but figured some might like to have an accessible (and free) solution.