Your humidity levels will play a role in this as well. You want a preferred humidity of 60%, and if you’re drying in a dry area, then you’ll want to keep some leaves on the flowers so they don’t dry out too fast. You can cut farther down the stem as they hold a lot of water as well. You’ll want to aim for at least a week in drying. Since steams and leaves all hold a lot of water you'll want to use that to your advantage.
Hanging them upside down in a dark area is best and you’ll want a small fan moving air across them, but make sure it doesn’t dry the buds out too fast. You preferably don’t want the buds touching each other preventing air flow. You don’t want them to dry too fast, but you also don’t want mold so have your eyes out for that.
I simply hang my buds from coat hangers and place them in a closet. You can also place them on drying racks that work well for more humid environments.