If using canned beans, just rinse them and set them aside. If you want to cook the beans yourself, soak them overnight and discard the liquid. Then put the soaked beans in a pot with 6 cups of water and 2 bay leaves. Bring to a boil and then immediately reduce to a simmer. Partially cover the pot and stir occasionally to prevent sticking. Cook until the beans are tender, about 2 hours.