To preserve and store:
Refrigerate whole heads in ziplock bags for up to 4 days (or freeze).
To preserve roasted ( peeled) cloves, simple cover with a layer of olive oil in a jar. Add herbs, lemon zest and chili flakes if you like. This will keep 10 days with the garlic submerged in oil. Use the flavorful garlic-infused oil in your cooking or dressings etc, but always top off the jar with more oil, so the garlic is completely covered.
Or freeze in little jars. You can also freeze cloves in little ziplock bags.
Make Roasted Garlic Paste: My favorite way is to blend the garlic cloves with the oil in a food processor and make a paste, covering with a tiny layer of olive oil. This will last 10 days in the fridge. For longer, store the garlic paste in little jars in the freezer, and pull out as needed. You could also free in ice cube trays.