I LOVE refried beans! They are so easy and versatile. I like to eat them just plain or topped with salsa, but they are also great in burritos. My sister married a guy from Mexico and this is how she makes his beans.
1 pound pinto beans
1 tablespoon salt
2 cloves garlic
Put beans in a pot with at least 5 cups of water. Bring to a boil and let boil 2 minutes. Turn off the heat and let sit 2 hour with the lid on. Drain beans and then cover again with water. Add salt, onion and garlic. Bring to a boil, then reduce the heat and simmer, covered, for 2 hours, or until tender. Drain off liquid and save to add back into the beans. Mash the beans - I use a potato masher. Gradually add in liquid while you are mashing to get the consistency you want.