Warm a sauce pot and add 1 to 2 tablespoons of olive oil. Once the oil is hot, saute the onions until they soften. Add garlic.
Cook the onions and garlic until soft. Add sofrito and tomato paste. Cook until all ingredients are aromatic and tender.
Add rehydrated or canned beans to the pot. Mix to incorporate the flavors of the sofrito, onions, garlic, and tomato paste.
Add tomato sauce and broth, adjusting for consistency. Use more broth for a lighter, brothy finish or extra tomato sauce for a richer, tomato-forward flavor. Lower the heat to simmer, cover, and cook for 30 to 45 minutes until beans are tender to the tooth.
Notes
Rehydrate Beans: The beauty of learning to rehydrate your beans or legumes is that you control what flavors go into the final product. Rehydrated beans also have a fresher flavor. Remember that once you decide to stew them after rehydration, the beans must be cooked for another 30 to 60 minutes. Keep this in mind so that your beans are not too mushy.
Canned Beans: In my experience, canned beans are an already cooked product. However, we are imparting our flavor. So I purchase the beans in water rather than the ones in sauce, and I rinse the beans before "cooking." I want the beans to have as much of my flavor as possible.
Thickeners: I did not include thickeners in this recipe because I am offering the most basic form of making these beans. However, calabaza and potato are traditionally used together or independently to thicken beans.