Heat the oil in a pan and fry the onions until they are tender. Once the onion is fried, you need to move forward.
First, drain one can of beans and add it to the fried onion.
Then add the other can of beans to the pan with the beans' liquid without draining it.
Sprinkle salt and pepper over the beans to add flavor. Add cayenne pepper as well. In the end, sprinkle the chili powder on top.
While the beans are on the stovetop, stir them well.
After your beans are cooked, you need to perform an important step.
For mashing the beans, bring a potato masher. Then add the shredded cheddar cheese after mashing the beans nicely.
Stir the mixture until it reaches the desired consistency, and wait for the cheese to melt.
Until serving, keep them on the stovetop.
You can serve it on the platter and enjoy it!