If you can write out a number in one or two words, do so. Use figures for longer numbers.
If one of several numbers of the same kind in the same sentence requires a figure, you should use figures for all the numbers in that sentence.