Finely chop the onion and green onion.
Add cooking oil to a pan, then sauté minced garlic, onion, and green onion.
Add pork and stir-fry until cooked.
Add red pepper powder and soy sauce, and continue to stir-fry.
Pour in water or broth.
Add the soft tofu and gently break it up.
Season with salt and pepper.
Add an egg, cover the pot, and let it cook.
Serve the soft tofu stew over rice to finish.