Chop the onion and garlic.
Add cooking oil to a pan and sauté garlic and onion.
Add chicken and stir-fry until cooked.
Add rice and stir-fry, mixing well.
Season with soy sauce, oyster sauce, salt, and pepper.
Make a fried egg.
Place the fried egg on top of the stir-fried rice to finish.