Wash the bean sprouts and onion, then slice them thinly.
Cut the bacon into bite-sized pieces.
Heat oil in a pan and fry the bacon first.
Add the onion and sauté until it becomes translucent.
Add the bean sprouts and stir-fry quickly over high heat.
Season with soy sauce and pepper.
Place the stir-fried ingredients over rice.