Dice the onion into very small pieces.
Chop the carrot into small pieces.
Dice the ham into small pieces.
Place a pat of butter in the bottom of a small saucepan, heat until melted. Add the onions and carrots.
Cook until the onions are translucent and the carrots are soft.
Add the ham, black eye peas, water and refried beans. Simmer until warm through.
Add salt and pepper to taste.