Wash the shrimp thoroughly and remove any excess moisture.
Rinse the bean sprouts and set aside.
Julienne the onion and green onion.
Heat cooking oil in a pan and stir-fry minced garlic and green onion.
Add the shrimp and stir-fry until cooked.
Add onion and bean sprouts and stir-fry quickly over high heat.
Season with oyster sauce and soy sauce.
Place the stir-fried ingredients on top of rice to finish.