Wash the bean sprouts and shrimp thoroughly and prepare them.
Finely chop the green onion and carrot.
Heat cooking oil in a pan and stir-fry the green onion and carrot.
Add the shrimp and stir-fry until they change color.
Add the bean sprouts and stir-fry quickly over high heat.
Add the rice and mix well while stir-frying.
Season with salt and pepper.
Transfer to a plate and serve.