Like poles of the magnet attract each other and unlike poles of a magnet repel each other.
Two like magnetic poles :
(a) repel each other
(b) attract each other
(c) first attract each other, then repel
(d) neither attract nor repel.