When the north and south poles are aligned, the magnets will pull on each other and stick together. Now, turn one of the magnets around and repeat the process.

7