In a medium (preferably nonstick) pot with a tight fitting lid, heat the oil over medium heat. Once it's hot, add the onion. Cook, stirring frequently, until it starts to soften...3-5 minutes. Stir in the garlic and cook just until fragrant, about a minute more.