You do not need a law degree to become one, but it certainly can't hurt, since a magistrate is like a policeman. Simply apply where there are jobs like this.
Magistrates do not require any formal schooling being lay members of the judiciary. Continual training is available for those who apply and are accepted. This is needed for the continual changes in legislation and guidelines.
You can expect to spend at least four years in school if you are considering persuing a career as a magistrate. You will probably have more success if you get your Masters Degree though.