Boil the ham, adding salt and spices. Boil beets separately.
Fry onions and carrots in oil.
Remove the ham from the broth, put the potatoes, cut into small cubes, and cook until tender.
Add vegetables, chopped ham and keep on fire for 2 minutes without boiling. Pour into bowls, top with sour cream.