Cut the beef into bite-sized pieces.
Slice the onion thinly.
Prepare the rice.
Heat oil in a pan and stir-fry the beef.
When the beef is half cooked, add the onions and stir-fry together.
Season with soy sauce, sugar, and pepper.
Place the rice in a bowl, then top with the stir-fried beef and onions.