Chances are, your pan wasn't hot enough when you put it in. The pan is ready when you can add a few drops of water, and they immediately sizzle off. It could also be that you didn't press your tofu enough. Tofu holds onto water, which can make the breading go soggy.