You can do either. You can soak the beans (for at least 4 hours, or overnight) and then put them in the fridge and cook them later, or you can soak, cook, and then refrigerate or freeze. You can also skip the whole soaking phase by cooking for a longer time, maybe three hours - but you'll need to check in on them to make sure all the water doesn't boil away, or cook them in LOTS of water in a big pot. They taste better than canned, I think, and I like how they take up so little room in the cabinet - I have a small house, so that's a plus!