Add olive oil to a warm saucepan over medium-low heat.
Add onions until semi-translucent, about 1-2minutes.
Add the cumin, chili powder, and garlic to toast the spices for about 1 minute or until fragrant.
Rinse canned black beans in a strainer and put into saucepan.
Add 1/3 cup of water to the saucepan and stir. Add salt (if canned beans are “No Added Salt”). Let sit for about 5 minutes.
Once done, you can either keep it as is or mash the beans.