Prepare tofu and eggs.
Wrap the tofu in a kitchen towel to remove excess water, then cut into bite-sized pieces.
Beat the eggs well.
Heat cooking oil in a pan and lightly fry the tofu on both sides until golden brown.
Push the tofu to one side of the pan and pour the beaten eggs into the empty space.
On low heat, gently stir to mix the tofu and eggs evenly.
Season with salt and pepper.
Transfer the cooked stir-fried tofu and eggs to a plate.