If $R$ is a finite commutative ring with identity and $a \in R$, prove that $a$ is either a zero divisor or a unit.
If $a$ is a zero divisor we are done. If $a$ is not a zero divisor and $a \neq 0_{R}$, then $ab = 0_{R}$ implies that $b = 0_{R}$ otherwise $a = 0_{R}$. Hence, $R$ is an integral domain and since every finite integral domain is a field (Theorem $3.9$ in my book), $R$ is a field and so $a$ is a unit.
Now I don't know what is wrong with it but it has to be since there is a hard question a little later that one needs to show a nonzero finite commutative ring with no zero divisors is a field and this seems to follow easily from that.