Cut tofu, bean sprouts, pork, onion, and green onion into bite-sized pieces.
Add the pork to a pan and stir-fry.
When the pork is half cooked, add onion and green onion and stir-fry.
Add bean sprouts and stir-fry briefly.
Add tofu and mix gently.
Season with soy sauce, chili paste, minced garlic, and pepper.
Turn off the heat when all ingredients are cooked.