Generally speaking remagnetizing is not easy. The biggest problems occur when you have to magnetize 'in-situ', when feasibility depends on the physical space around the magnets, and pole patterns in a multi-pole design. It is much easier if you can remove the magnets and place them between the pole-pieces of a magnetizer, but this is not usually possible.
Particularly for rare-earth magnet types that you might find in a modern brushless-dc motor (samarium-cobalt or neodymium-iron-boron) and to a lesser extent ferrite types, the magnetizing force required is very high and requires a current pulse magnetizer with a specially designed fixture (magnetizing coil). There are numerous suppliers of magnetizers e.g.
- but the fixture design may require a specialist design company. They may use empirical design methods or in extreme cases, time-stepping finite element analysis.
Magnetizers are usually capacitive discharge type and deliver kA pulses (the pulse duration must be long enough to ensure that the field pattern fully penetrates the magnet if this is a conducting material - this takes a finite time due to induced eddy currents). Pulses are used because a steady current would melt the fixture. They may have to be designed to withstand high impulse forces.
It may be possible to fully remagnetize by trial-and-error (hit it with a large enough pulse) provided you have a measuring method that can confirm full magnetization has been achieved (e.g. using a Hall probe, increase pulse magnitude until no further increase in flux density is achieved).
Hope this helps.