Cut the tofu and shrimp into bite-sized pieces.
Heat olive oil in a pan and sauté the onion and garlic.
Add the shrimp and stir-fry until cooked through.
Add the tofu and mix gently.
Season with salt and pepper.
Transfer the ingredients to an oven-safe dish.
Sprinkle mozzarella cheese on top and bake in the oven at 200°C for 10 minutes.