Add the olive oil to a large skillet set over medium heat. Add the onion and garlic and saute until tender and translucent. Add beans, cumin, salt, and pepper to the skillet. Add reserved liquid a little at a time until beans are at desired consistency and not dry. Cook until beans are heated throughout. Mash beans with a potato masher or the back of a wooden spoon to your desired texture. Remove from heat and serve.: As the oil warms, you should notice it shimmer slightly and spread easily across the pan surface, which indicates the skillet is ready. The oil functions as the flavor carrier, delivering heat to the onion and garlic while preventing sticking. If the oil smokes, the pan is too hot, so reduce to medium, because overheating will burn delicate aromatics and create bitter flavors. Listen for a very light sizzle when you add aromatics, it tells you the temperature is right. A common mistake is heating the oil too high which leads to rapid browning, instead allow a gentle heat so the vegetables soften slowly and release sweetness.
Add the onion and garlic and saute until tender and translucent: During this stage, the onion should go from opaque to translucent and the aroma should shift from sharp to sweet and mellow; the garlic will perfume the air. Stir frequently so the pieces cook evenly and no spots brown prematurely. Visually, you want the onion strands to be glossy and soft, not browned or crisp. If the garlic begins to brown quickly, lower the heat and stir, because burnt garlic will add bitterness. A good signal you're doing it right is a gentle, steady sizzling and a rounded aromatic lift without any burnt notes.
Add beans, cumin, salt, and pepper to the skillet: As you add the pinto beans , you'll hear a soft settling sound and see the beans coat with the oil and spices. The cumin should become fragrant, releasing a warm, earthy scent as it meets the heated oil and beans. Salt will draw moisture from the bean surfaces, slightly loosening them, while black pepper adds a bright bite. Stir to combine so the spices distribute evenly; if the mixture looks dry right away, reserve liquid will be needed. Avoid adding too much salt at once, taste as you go to prevent oversalting.
Add reserved liquid a little at a time until beans are at desired consistency and not dry: Introduce the reserved cooking or can liquid in small splashes, watching how it changes the texture; the beans will go from clumpy to spoonable and glossy. Stop once you reach a spreadable yet substantial texture, because adding too much liquid will make them soupy and dilute flavor. The right consistency is when a wooden spoon drags through the mixture leaving a visible trail but the beans still hold some body. A frequent error is pouring all the liquid at once, which removes control, so add gradually and pause to assess.
Cook until beans are heated throughout: Keep the skillet over medium to medium low heat while the beans warm through, and watch for gentle bubbling around the edges which signals even heating. This step helps flavors meld and allows moisture to integrate, improving mouthfeel. Smell and appearance are good guides, you should get a warm, savory aroma and glossy surface without rapid bubbling. Avoid prolonged vigorous boiling because it can break down texture excessively and make the beans gummy; maintain a gentle simmer instead.
Mash beans with a potato masher or the back of a wooden spoon to your desired texture: As you mash, note the change from whole to creamed, and listen for the soft tearing of beans which indicates tenderness. Mashing by hand gives you tactile control over chunkiness, creating anything from rustic lumps to a smoother spread. The action also incorporates any remaining liquid so the texture becomes cohesive. If you find the mash too stiff, add another splash of reserved liquid, but if too loose, cook a bit to reduce. A common misstep is overmashing which can produce an overly pasty feel; stop when the texture pleases you.
Remove from heat and serve: Once removed, the beans will continue to settle and thicken slightly as they cool, so serve while warm to retain that soft, glossy quality. Spoon them into a bowl or plate and note the surface sheen, which signals proper oil integration. If holding briefly, cover to keep heat and moisture, because uncovered cooling can form an undesirable skin. Avoid serving them cold right away unless you intend a chilled preparation, because the flavors and mouthfeel are best when the beans are warm and freshly mashed.