Magnets can repel magnetic materials.
Repels
Magnetic materials like cobalt, nickel and iron are always attracted by magnets. Magnets cannot repel them, as magnets can only repel other magnets because they have poles, and like poles repel each other.