Clean and prepare the shrimp thoroughly.
Finely chop the onion and carrot.
Add cooking oil to a preheated pan.
Stir-fry the shrimp first and set aside once cooked.
Add the vegetables to the pan and stir-fry.
Add the rice and mix well while stir-frying.
Return the shrimp to the pan, season with salt and pepper.
Stir-fry everything evenly to finish.