1Heat the vegetable oil in a large pan or wok over medium heat.
Add the chopped onion and minced garlic to the pan. Sauté until the onion becomes translucent.
Push the onion and garlic to the side of the pan and crack the eggs into the empty space. Scramble the eggs until they are fully cooked.
Add the cooked rice to the pan and mix everything together.
Pour the soy sauce over the rice and stir well to ensure the rice is evenly coated.
Sprinkle the chili flakes over the rice and mix again.
Add the sliced green onions and stir to combine.
Cook for an additional 2-3 minutes, stirring occasionally, until everything is heated through.
Serve hot and enjoy your Egg Fried Rice.