Finely chop the onion and garlic.
Drizzle olive oil in a pan and sauté the onion and garlic.
Add tomato sauce and bring to a simmer.
Gently scoop the soft tofu into the sauce.
Season with salt and pepper.
Generously top with cheese.
Bake in the oven until the cheese melts.