Schooling is a defensive strategy performed when fish feel threatened. It is rarely seen in typical tanks. If threatened fish school with their own kind, if REALLY threatened, they will school with similar species - but if the fish are that scared, you've bigger problems.
Most barbs are totally peaceful with appropriately sized tanks mates. Tiger Barbs are very boisterous though and can be aggressive, especially when kept in small groups.