In a lecture note that I have, it is written that
if $F$ is a field of $q$ elements of characteristic $p$, then $q = p^m$ for some $m>0$.
To show this, observe that $F$ is a vector space over the field $F_p = \{n \cdot 1_F | n \in \mathbb{N}\} $ with $(n \cdot 1_F) * x = n \cdot x$ for $x\in F$. So the result directly follows.
I can't understand why the cardinality of the vector space over a finite field of characteristic $p$ has to be a power of $p$.