antiparallel current attract each other.
antiparallel current repel each other.
equal magnitudes of antiparallel current attract each other.
parallel current repel each other.
The direction of magnetic field can be determined from right hand thumb rule. The direction of magnetic force is given by the cross product →F=i(→l×→B). In the case of two wires carrying parallel current, this force on one wire due to the magnetic field of the other is directed towards the other wire. So, wires carrying parallel current attract each other. In the case of two wires carrying anti-parallel current, this force on one wire due to the magnetic field of the other is directed away from the other wire. So, wires carrying anti-parallel current repel each other.