I prefer to bake the tofu, but you could pan-fry the cubes of tofu if you prefer.