Cut the pork and onion into bite-sized pieces.
Heat some cooking oil in a pan and stir-fry the pork.
When the meat is almost cooked, add the onion and carrot and stir-fry together.
Season with soy sauce, sugar, and minced garlic to taste.
Once all the ingredients are cooked through, turn off the heat and transfer to a plate.