Can I cook refried beans in the microwave help?

If so how long can I cook beans in the microwave? I don’t have my skillet pan yet I live in a studio building my own kitchen little by little. I cooked refried beans once in the microwave for 2-3 minutes and it didn’t look fully done. Like on a pan the beans make bubbles once it’s boiling and almost ready. In the microwave I need help
Can I cook refried beans in the microwave help?
Post Opinion