Start by heating the olive oil in a large pot or deep skillet over medium heat. Once it's hot, add the onions and cook, stirring often, until they start to soften up, about 3-5 minutes. Then add the garlic and cook just a minute or so more, until fragrant.