Preparation: Rinse dried pinto beans thoroughly and soak them overnight in water to soften. Drain and rinse the soaked beans before cooking. If using canned beans, drain and rinse them.
Cook Bacon: In a large pot or Dutch oven, cook bacon over medium heat until it becomes crispy and releases its fat.
Add Aromatics: Add chopped onions and minced garlic to the pot with the bacon. Cook until the onions are translucent and the garlic is fragrant.
Incorporate Tomatoes and Peppers: Stir in diced tomatoes and sliced chili peppers. Cook for a few minutes until the tomatoes start to break down.
Add Spices: Sprinkle in your desired spices, such as cumin, oregano, chili powder, salt, and pepper. Adjust the seasoning according to your taste preference.
Add Beans and Liquid: Add the soaked or canned beans to the pot, along with enough broth or water to cover the beans by about an inch.
Simmer: Bring the mixture to a boil, then reduce the heat to low and let the beans simmer uncovered for about 1 to 2 hours, or until the beans are tender and the flavors have melded together. Stir occasionally and add more liquid if needed to prevent the beans from drying out.
Adjust Seasoning: Taste the beans and adjust the seasoning if necessary. You can add more salt, pepper, or spices to suit your taste.
Serve: Once the beans are cooked to your liking, remove the pot from the heat and let it cool slightly before serving. Garnish with fresh cilantro, if desired.