Answer:
Firstly, you need to put the weak magnet within the magnetic field of a much larger, stronger magnet. To achieve the best result, you need to place it right next to the larger, stronger magnet, which will help realign electrons in the weaker magnet that have spun out of axis.
Explanation: