First, I agree with Byron, the best solution is to return or rehome those fish. That tank is way too small for that species and too sparsely decorated.
That environment is so barren. They have nothing to look at except each other and nothing to explore. Aggression is inevitable under such circumstances because there's nothing else to do and nowhere to hide. They need to be able to get out of each other's view to make the bully forget about them. He needs to be distracted by something else to do but there isn't anything to do in that tank.
To keep this species, you'll need to get a larger tank, put plants and other things in it to make a nice habitat, and then get more of the barbs. It's the same with many species. They prefer larger numbers of their own kind and a more natural environment for them to feel like they can hide and to forage for food, etc.
Regards of the type of fish you get, there really needs to be a proper environment for them to live in. Fish are live animals to care for, not decorations to be viewed. Some plants that grow tall and other decor is needed in there. I see a couple of little plants at the bottom. Are those real? You will want to put in something else tall in the meantime while that grows.
I will say that it can be difficult to provide a good home for many species in a tank with that shape being so much taller than it is long. There isn't a lot of room to swim from side to side and the fish are almost always on "top" of each other which can be uncomfortable for a lot of fish types. Try posting a new thread to ask what kinds of fish people recommend in that type of tank.
I posted some pictures below of 20 gallon octagon tanks that have good proportions of decorations that would be more likely to make fish feel more comfortable.
Best of luck to you and your fish!