Squeeze and drain the tofu to remove liquid. When tofu is mostly dry, crumble tofu.
Heat oil in a saucepan over medium heat. When it's about to ripple, add the onion and sauté for about ten minutes. Add the squeezed and crumbled tofu, the tomatoes, herbs, and salt.
Let the scrambled tofu cook and dry for about 10 to 15 minutes.
Meanwhile, divide the refried beans in four and spoon over each tortilla, spread evenly. Top with a quarter of the scrambled tofu mixture.
Roll to form the burrito. Heat a pan over medium high heat and add a tablespoon of oil or butter. Place the rolled burrito and heat approximately 2 to 3 minutes on each side, until toasted.