Beat the eggs and set aside.
Finely chop the onion and carrot.
Heat cooking oil in a pan and scramble the eggs.
Remove the eggs from the pan and stir-fry the onion and carrot.
Add the rice and stir-fry well to combine.
Return the scrambled eggs to the pan and stir-fry together.
Season with salt and pepper to taste.
Serve the finished fried rice on a plate.