Finely chop the onion
Heat cooking oil in a pan and sauté the onion
Add the rice and stir-fry evenly
Add ketchup and stir-fry quickly while mixing
Place the fried rice in a bowl
Beat the eggs and cook them as scrambled or fried eggs
Place the eggs on top of the fried rice