Cut the tomatoes and tofu into bite-sized pieces.
Heat cooking oil in a pan and pan-fry the tofu until golden brown on both sides.
Once the tofu is cooked, add the tomatoes and stir-fry together.
Season with salt and pepper to taste.
Transfer to a plate and serve.