"Pick" the beans by laying on counter and pulling out bad beans, rocks etc
Rinse the picked beans in a colander being sure to rinse well
Place rinsed beans in heavy dutch oven or stock pot adding water to cover at least 2-3 inches above the beans.
Over medium heat bring the beans to a boil and remove from heat. Cover and let set for at least 30-45 minutes allowing beans to swell and double in size.
Drain beans in a colander removing the water completely. Place beans back in the pot and add water to cover again.
Cook beans covered at a gentle boil for about an hour.
Add onion, garlic and ham hocks. You may salt at this time or wait til almost finished cooking
Check beans frequently for doneness and water. I like to keep a cup of water by my stove in case I need it quickly. (There is nothing worse than burning the beans). You can taste or smash a bean in your fingers for softness. Set aside as you prepare for making refried beans OR if you are just wanting a bowl of pinto beans... serve the beans in a bowl adding a hunk of corn bread with butter on top. Many people in New Mexico like their corn bread crumbled into their bowl of pinto beans. I prefer it on the side and sometimes I add fried potatoes with onions along with the beans and cornbread.