Prepare and clean the beef, bean sprouts, and onion.
Cut the beef into bite-sized pieces.
Heat cooking oil in a pan and stir-fry the beef.
When the beef is about halfway cooked, add the onion and stir-fry.
Add the bean sprouts and stir-fry quickly over high heat.
Add the rice and mix well with the other ingredients.
Season with soy sauce, salt, and pepper.
Serve the finished fried rice in a bowl.