Let me show in an elementary way, as a complement to TTS's fine answer, that a finite dimensional algebra $A$ over a field $k$ has finite spectrum $\operatorname {Spec} A$, i.e. that $A$ has only finitely many prime ideals.
a) Every prime ideal $\mathfrak p\subset A$ is maximal
Indeed $A/\mathfrak p$ is an integral finite dimensional algebra over $k$, and is thus a field (here is a proof), so that $\mathfrak p$ is maximal.
b) There are only finitely many maximal ideals in $A$
If $\mathfrak m_1, \cdots, \mathfrak m_r\subset A $ are distinct maximal ideals, the Chinese remainder theorem (Atiyah-Macdonald, Proposition 1.10) implies that $A\to A/\mathfrak m_1\times \cdots \times A/\mathfrak m_r \;$ is surjective, so that $\operatorname { dim }\: A\geq \sum \operatorname {dim}(A/\mathfrak m_i)\geq r$.
Hence we deduce from b) that $A$ has at most $\operatorname { dim } A\: $ maximal ideals and, taking a) into account, at most $\operatorname { dim }\: A $ prime ideals.
Suppose that $A \subset B$ are rings, $p \subset A$ is a prime ideal and $B$ is a finitely generated $A$-module then there are only finitely many prime ideals $q$ lying over $p$.
I know a proof of the above fact with an extra assumption that $A$ is integrally closed. The approach in Stack Project seems to fix some ideal $q$ lying over $p$, do some trick with $B_q/pB_q$ and shows that the fibre of f, what ever it is, is finite.
– mr.bigproblem Jun 11 '13 at 05:02