Steps
1. In a pan, heat olive oil over medium heat. Add sliced onions and cook until caramelized.
2. Push the onions to one side of the pan and crack the eggs into the other side.
3. Scramble the eggs until cooked through, then mix with the caramelized onions.
4. Add cooked rice to the pan and stir well to combine.
5. Season with salt and pepper to taste.
6. Serve hot and enjoy!