It depends on the type of magnet, but as a general rule - keep the motors physically separated, preferably by several inches. It may take considerable time, but even modern magnets can lose a portion of their strength when in close proximity to other magnets. And never store them in a heap!