How to Magnetize Something?

To magnetize something permanently is a very complicated process, but to temporarily magnetize a metal object simply rub a magnet along the object a few times and it will become magnetized for a short while.