To prevent burning, sauté the garlic over medium heat just until it becomes fragrant and lightly golden. This usually takes about 1 minute. Be sure to stir continuously and keep a close eye on it.