Permanent magnets are those magnets that are commonly used.
They are known as permanent magnets because they do not lose their magnetic property once they are magnetized.
Demagnetize a Magnet
A magnet can be demagnetized by exposing them to extremely high temperatures.
A magnet can be demagnetized by hammering them constantly.
A magnet can be demagnetized by inappropriately stroking it with another magnet.
All of these above methods will disrupt the alignment of the domains and weaken the magnetic strength, Hence they can be used to demagnetize a permanent magnet.