Applying an alternating electrical current creates a rapidly changing magnetic field, which neutralizes the magnetic domains. The second method involves heating the metal to disrupt the magnetic domains.