Chop kimchi and onion into small pieces.
Heat cooking oil in a pan and sauté the onion.
Add kimchi and stir-fry together.
Add rice and mix everything well while stir-frying.
Add soy sauce and sesame oil to season.
Top with a fried egg if desired to finish.