Finely chop onion, carrot, green onion, and kimchi.
Preheat a pan over medium heat.
Add kimchi and vegetables to the pan with 2–3 tablespoons of water, then stir-fry.
Add the rice and stir-fry to combine with kimchi and vegetables.
Season with soy sauce and pepper.
Serve with an egg if desired.