If using an Instant Pot, add a whole bag of dried pinto beans to 4-5 cups of water. Set to Pressure Cook on high for 25 minutes. If doing this on a stove top, soak your beans over night or for at least 8 hours. Fill a stock pot up with water and boil your beans for an hour or until tender.
Drain your beans. Save a cup or two of the bean stock water.
In a large skillet over medium high heat, sauté the onions in the lipid of your choosing. I happened to have some rendered pork fat from a whole pork belly I saved. Cook until browned.
Add in 2 1/2 cups of the cooked pinto beans. Cook for 2 minutes.
Using either a bean masher or the bottom of something flat like a ramekin, start mashing the beans while slowly incorporating the bean stock water. Continue this process until all of the beans are smashed and run smooth and are creamy.
Stir in smoked paprika. Salt to your liking.