Let be a commutative ring with elements , . Suppose that if is not inversable, then . Prove that is a field.

I know the following result:

A finite ring with unit and with no non-zero nilpotent elements is a finite direct product of fields.How can this result help me ?