To fight them either

1:ranged weapons

2:basilosaurs

3:youhave a farther melee stacking range then them.

More Cnidaria Encountering Tips