Like poles of magnets repel each other.
Attract
Repel
Like poles of magnets repel each other. Unlike poles of magnets attract 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.