In a large skillet, heat the olive oil over medium heat. Add the onion and garlic and cook for 2 to 3 minutes, until the onion is translucent.