Sauté the onion: In a large skillet, heat the olive oil over medium heat. Add the onion and sauté until soft and golden brown.
Add the beans: Add the cooked beans to the pan with a pinch of salt. If the beans are too dry, you can add a little of the cooking water.
Mash the beans: With a bean masher or the back of a wooden spoon, start mashing the beans to the desired consistency. If you prefer softer beans, you can add a little more water.
Adjust the flavor: Taste the beans and add salt to taste. Continue to simmer for a few more minutes to allow the flavors to blend.
Notes
Storing the refried beans
Before storing the beans, check that they are well chilled.
Refried beans should be stored in an airtight container to prevent them from drying out.
Store in the fridge. Refried beans can be refrigerated for up to 5 days. If you do not plan to eat them, you can freeze them. To freeze refried beans, place them in a freezer-safe container, leaving a little space at the top to expand. Frozen beans will keep well for up to 6 months. Thaw in the refrigerator overnight before reheating.
Reheat the refried beans
On the stove: Place the refried beans in a skillet over medium heat to reheat the refried beans. Add a little water or broth to prevent them from drying out, and stir frequently until they are completely hot.
In the microwave: You can also reheat the beans. Place them in a microwave-safe container, cover it with a microwave-safe lid or plate, and heat for 1-2 minutes. Stir halfway through cooking to ensure even heating.