Just keep trying and don't give up. Everyone has made mistakes with recipes.
Most of the times I have messed up a recipe, I was rushing or I did not
read the recipe carefully enough. I make sure that I read the recipe over
and over before I make a new recipe. Think of it as studying for a test,
you would not want to take one without being prepared and cooking is
the same way. I also have a computer by my kitchen so I bring up the
recipe to refer to as I make the recipe. If it is in a book, prop it up so
you can refer to it. If it is a recipe I know by heart, I no longer have
to do this like my pizza crust recipe, my lasagnas, my calzones, breakfast
cookies, etc.
I have made tofu in many different recipes
and I actually cook mine on high heat in oil and watch carefully until brown
and then flip and repeat. I make it this way for stir fries, then remove and
make the stir fried veg, add tofu and sauce stir over high heat to thicken.
Start with some easy recipes and build your skills up to more
complicated recipes. Good luck