In a large, deep skillet with a tight fitting lid, heat the oil over medium heat. Once its hot, add the onion. Cook, stirring often until it's translucent, about 5-7 minutes. Then stir in the garlic and cook another minute or so more, until it's fragrant. Increase the heat to med-high and add the orzo to the pan and let that toast a bit, stirring often.