I don't know about the best way, that's debatable. I do it the old school way (30+ years) and works well every time.
Trim only the fan leaves off, hang and dry plants in a dark room with humidity between 30-50% until they're just about snapping, I tend to leave them a little more "wet" if anything, I don't wait until the branches are so dry they snap too easily. I then dry them to smoking quality with the burping process below.
- Rough trim and put the buds into large coffee cans (1kg/2lb cans) with those plastic seal lids, in a dark/cool spot. They hold about 3oz lightly packed with some room for air in the top
- Burp the cans, open, move the buds around, leave open for an hour or so per day for the first week
- Burp them for about 20-30 minutes for another week
- Burp them for 5-10 minutes for another week
By then they're usually ready and at the right RH/dryness to smoke nicely
I typically will burp them for 5-10 minutes for another week or so and by then, they're smelling sweet and good to go... it depends on how dry they were to begin with. I use 3 weeks minimum and add moisture (small slice of potato in the can for 8-12hours) if I dried them too much to begin with, 4 weeks if needed. When they're ready is when that "green" smell is gone and replaced by a nice sweet whiff when you open the can.
I've heard of some freezer drying them and may try a small batch this round to compare against my normal method above. It would be nice not to burp, but I question if the quality/smell/taste would match the old burping method above.