Dice the onion, carrot, and ham.
Heat oil in a pan and stir-fry the onion, carrot, and ham.
Add rice to the pan and season with salt, pepper, and ketchup. Stir-fry well.
Transfer the fried rice to a bowl or plate.
Beat the eggs and season with salt.
Heat oil in a pan and cook the eggs into a thin omelette.
Cover the fried rice with the omelette.
Finish by drizzling ketchup on top.