Magnetic moment and magnetism

How to determine the magnetic moment of a nucleus, especially it’s direction?

How to determine the magnetism of an atom?