Slice the beef and onion into bite-sized pieces.
Heat cooking oil in a pan and sauté the onion.
When the onion becomes translucent, add the beef and stir-fry.
Season with soy sauce, sugar, and mirin (cooking wine).
Serve the stir-fried beef and onion over rice.