In a medium saucepan you will want to turn on medium heat. Then add your oil and let it get warm. Toss in your onions and salt.
Cook your onions until they are softened and become translucent, this takes around 5 minutes.
Add in your garlic, cumin, and chili powder. Stir constantly for about 30 seconds, you want it to begin to smell fragrant.
Now pour your drained beans in along with vegetable stock. Stir and cook covered for 5 minutes on medium-low heat.
Reduce your heat to low and remove your lid. Grab a potato masher or blender and mix up the beans. I generally mix only half the bans up as I like a thicker texture. But mix to your desired texture.
You will want to cook the beans for 2-3 more minutes stirring often.
Once done remove beans from the heat, and stir in the lime juice. Add salt to taste if ou would prefer.
If your refried beans seem dry you can add a splash of broth or even water. Cover and stir occassionally until you are ready to serve.
