Number to words - how to write numbers in words ?

How to write numbers in words perfectly without mistakes ?