Make sure the pan is well-oiled before adding the tofu. You can also use a non-stick pan or a well-seasoned cast-iron skillet to prevent sticking.