M has three legs, N has two: count the fingers on the palm. Learn M and N one after the other so the difference is clear from the start.

You will fingerspell M in names like Muhammad, Mia and Max and places like Manchester, Milton Keynes and Margate. Practise it next to L and N, its neighbours in the alphabet.