Holding the magnet upright, drag its tip from the head to the tip of the nail, then let go to lift it away. Always stroke in the same direction β switching direction will make the nail lose its magnetism! Then try leaving it alone for a while and see what happens.