Vikings?

I'm currently watching the series Vikings, it's about Vikings and sometimes the Vikings fought among themselves, so two armies on a large battlefield, but how did they know whether they were their men or enemies, because they all look like Vikings and they don't all know each other, there are thousands of men, was the…