Cut the beef into bite-sized pieces.
Slice the onion and carrot.
Heat oil in a pan and stir-fry the beef.
When the beef is cooked, add the onion and carrot and stir-fry together.
Add soy sauce, sugar, minced garlic, and pepper; mix well.
Pour in water and simmer on low heat.
Finish when the flavors are absorbed.