Thinly slice the beef and onion.
Heat some cooking oil in a pan over medium heat.
Add the beef and stir-fry, then add the onions and stir-fry together.
Once the meat is cooked, season with soy sauce and pepper.
When all the ingredients are cooked, turn off the heat and plate the dish.