Dice the ham, onion, and carrot into small cubes.
Heat a pan and add cooking oil.
First, stir-fry the ham.
Add the onion and carrot and continue stir-frying.
Add the rice and mix well while stir-frying.
Season with soy sauce, salt, and black pepper.
Stir-fry everything evenly until well combined.