Hang to dry untill you can bend a main stem, it should break or crack at 90 degrees or so (a right angle). Usually about 5 - 7 days. Keep low humidity and total darkness where you dry, keep the air moving. This will help prevent mold.
When dry, place the buds in any sealed container. Glass or plastic container is fine, as long as it has a good seal. Fill the container about half way, do NOT pack the buds in there. Close up the container and place them in a cool dark place. Every day, take the buds out and spread them on a table for about 2 hours so they can get some air, then pack them away again in the above manner. Repeat this process for as long as you like. If you have the patience, cure for at least a week. Longer you cure, better the taste. Good Luck!