Slice the beef thinly.
Prepare the onion, green onion, and carrot.
Make the marinade (soy sauce, sugar, minced garlic, sesame oil, pepper).
Mix the beef and vegetables with the marinade and let it marinate for 30 minutes.
Heat oil in a pan and stir-fry the ingredients.
Once the ingredients are cooked, it's ready to serve.