01 - Place olive oil and sliced garlic in a small saucepan over low heat.
02 - Incorporate fresh rosemary or thyme and crushed red pepper flakes if desired.
03 - Warm gently, stirring occasionally, until garlic becomes light golden and fragrant, approximately 8 to 10 minutes, ensuring garlic does not brown or burn.
04 - Take the saucepan off the heat immediately to prevent overcooking.
05 - Pour oil through a fine mesh sieve into a clean glass container, discarding solids or reserving garlic for other uses.
06 - Allow oil to reach room temperature before sealing. Refrigerate and consume within two weeks.