Prepare the ingredients:
If the rice is not cooked yet, cook it according to the package instructions and let it cool completely before using. If it is already cooked, make sure it is cold.
Prepare the egg:
In a bowl, beat the eggs with a pinch of salt and pepper.
Cook the eggs:
Heat a little oil in a large frying pan or wok over medium heat.
Pour the beaten eggs into the pan and stir gently until cooked through but still soft. Break the cooked eggs into small pieces with a spatula. Remove the eggs from the pan and set aside.
Cook the remaining ingredients:
In the same frying pan or wok, add a little oil and fry the diced ham until lightly browned.
Add the remaining ingredients:
Add the peeled shrimp and fry until pink and cooked through.