>>21507607 (OP)
1. don't get canned beans in general, unless you're gonna throw them into a chile or some other type of soup or stew as a filler to extend your meat supply
2. dried beans are usually cheaper and a better deal
3. generally, follow instructions on the package of dried beans. no, you do not need to soak your dried beans overnight unless you've had them for literal years. yes, you should still give them a quick wash in a bowl of water to see if there are any pebbles amongst them, and because you don't know if someone sneezed on them
4. an idiot-proof method is to put a cup or two of them into a pot (or however many you want, idk), fill the pot with water until it's an inch over the beans, and leave them to simmer (lid off or tilted to prevent foaming over) for around 2 hours. check on them every thirty min to give them a stir to prevent sticking, and to see if you need to top up the water slightly. by the end of the cook, there shouldn't be excess water
5. throw in a couple cloves of crushed & peeled garlic, a chopped up spicy pepper, and some salt. if you have ham or bacon, chop that up and throw it in, and omit the salt. add some tomatoes if you wish, or any other savory veg with a distinct flavor of its own.
wah-lah, you have tasty beans