Preheat a medium saucepan over medium-high heat. Heat oil and then add in onion and garlic. Saute for 2 to 3 minutes. Pour in broth and bring to a boil. Stir in orzo and bring broth back to a boil. Cover pot and reduce heat to simmer. Cook 15 minutes, stirring occasionally.