Rinse the rice in a fine mesh strainer until the water runs clear. This helps remove excess starch, resulting in fluffier rice.
In a medium saucepan, heat olive oil or butter over medium heat.
Add diced onion and cook 3–4 minutes until soft and translucent.
Stir in garlic and cook 30 seconds until fragrant.
Add the rinsed rice and stir to coat. Toast for 1–2 minutes until slightly golden.
Pour in broth, then season with salt and pepper. Bring to a gentle boil.
Reduce heat to low, cover, and simmer for 15 minutes. Don’t lift the lid.
Remove from heat and let sit, covered, for 5 minutes to steam.
Fluff with a fork, stir in fresh herbs and lemon zest if using.