One of the simplest and most satisfying staples in Mexican cooking. Misleadingly called "refried" beans, they are actually boiled then fried. Refried beans can be either spartan or spectacular- use a simple canned bean or make a flavour-filled showstopper with a more complex stewed bean. This recipe is a mix of the two: simple but spicy.
Heat oil in a pot and add onion. Sautée for until softened, about 2-3 minutes. Add garlic and sautée for another minute. Add cumin and chiles and cook for another 30 seconds or so.
Add the beans to the pot and mix well. Using a potato masher, mash the beans in the pot until mostly, but not entirely, smooth. You may need to add some water at this point (ideally use the water from the can or from cooking the beans). Stir.
Remove from heat and garnish with cheese.