The best way to prevent your fried tofu from sticking to the bottom of the pan is to preheat the oiled skillet and not move the tofu cubes AT ALL for the first 3 to 4 minutes. This helps the bottom get nice and crispy, making the pieces much easier to flip. Be very gentle when you do eventually move them around in the pan and use a quality spatula or even a fork.