garlic usually does best if it's cooked quickly and over medium heat. about thirty seconds will do the trick. this is just enough time to cook off the rawness, allow the flavor to mellow into the dish, and let the aroma to hit its peak. you'll know it's done when you can smell the garlic and your mouth starts watering!