Answer:
A nail can be magnetized by being hit with a magnet 50 or so times, alternately, if a nail or other piece of metal which is attracted to magnets (these metals are called ferromagnetic by scientists) is left near a strong magnet for a long period of time (a few days to a few years depending on how strong the magnet is) it will become magnetic.