Now, after they are separate and you can take care of your other birds without fear, you have to choose between attempting rehabilitation or rehoming them to a more experienced home.
If you can control your fear, you can get them to behave, don't worry.
The first thing is to know what they want to achieve by attacking you, most likely they are trying to make you move, because that means they are the dominant ones. So don't move. Don't give ground, and wear gloves and long sleeves to deal with them so you have nothing to fear. And of course make them move, be as firm as necessary, just shove them with your foot or a stick.
Once they respect you and stop attacking, you can try making friends, just don't let them move you : )
You can try pinning them with pressure between their wings like a rooster would, but just temporarily removing them from the flock and giving them absolutely no satisfaction from attacking you should be enough.
They are just a bird, with sharp claws and a decent peck, but still just a bird. Wear some protective gear and be aware, but there is nothing to be afraid of : )