While bettas aren't schooling fish, two females can live happily in the same tank. If you put two males, they'll fight. For males and females together, they should only be in the same tank for breeding.