In a small baking dish combine the garlic cloves with the oil, herbs, dried chiles if using, and spices.
Cover with foil and bake until garlic is tender, 60–75 minutes. The garlic is done when the cloves easily pop out of the cloves when squeezed and are soft and jammy.