A permanent magnet is a material that maintains a persistent magnetic field without the need for an external power source. For example, "The refrigerator door securely closed thanks to the strong permanent magnet embedded in the seal."
Put it in a coil which has an alternating current in it. The AC current produces a magnetic field in the coil which alternates with the changing voltage. This changes the magnetism of the permanent magnet. Gradually reduce the current in the coil and the permanent magnet will end up unmagnetised.
An electromagnet is a magnet while an electric current is running through the coil. Turn off the current and it is no longer magnetised, and is, therefore, not a permanent magnet.
a Temporary Magnet lose its magnetism quickly, a Permanent Magnet is hard and it keeps it magnetism
The process by which a iron piece touching a permanent magnet behaves as a magnet as long as it maintains contact is called magnetic induction. not only does this work when the iron is physically touching the magnet but it works as long as the piece of iron remains under the influence of the magnet. A iron piece attracted to a magnet through a paper with out any physical contact will also behave as a magnet.
Electro magnets differs from permanent magnet because it requires electricity. A simple electro magnet consists of an iron rod wrapped in a coil of copper and when electricity flows through the copper, a magnetic field is formed.