Generally, a permanent magnet cannot be turned on or off in the same way as an electromagnet. The strength of the magnetic field is fixed once the magnet is created. However, some technologies like electropermanent magnets (which use both permanent magnets and electromagnets) can turn on or off the magnetic field through electrical control.