In a pressure cooker, cook the beans between 10 to 15 minutes after getting pressure.
In a pan, sauté and season the ribs, then remove and reserve.
In the same pan, fry the bacon and pepperoni, after frying, sauté and season the beans, add the ribs, and let everything cook together to get flavor. Then just serve.