Cut the beef into bite-sized pieces.
Slice the onion, green onion, and carrot thinly.
In a bowl, mix soy sauce, minced garlic, sugar, pepper, and sesame oil to make the marinade.
Add the marinade to the beef and let it marinate for 20 minutes.
Stir-fry the beef and vegetables together in a pan.
Once all the ingredients are cooked, turn off the heat and plate the dish.