Some people think that it is easy to fry tofu; just throw it in the pan and go. I used to be one of those people. I was wrong.
Here are some tips for perfectly fried tofu
1.) Drain the tofu as best you can, and use paper towels to squeeze out more water.
2.) Cut it into small pieces, and dredge those in flour in small batches.
3.) Don't use olive oil; it doesn't get hot enough, and it breaks down at high heat. Use vegetable oil or peanut oil instead.
4.) Fry it in smaller batches, or at least don't overcrowd the pan; this way there's room to turn over the tofu, to get at least 2 sides browned.
5.) Use a splatter screen, if you have one!