In this answer, I will assume that all spaces are Hausdorff.
It is well known that a space is compact if and only if it is pseudocompact and realcompact[See The Stone Cech Compactification by Russel Walker p.34]. A space is realcompact if and only if it can be embedded in $\mathbb{R}^{I}$ as a closed subspace. Also, in the topology book by Dugundji, the author proves that a space is compact if and only if it is countably compact and metacompact. Here metacompact means that every open covering has a point-finite open refinement (A cover $\mathcal{U}$ of $X$ is point finite if $\{U\in\mathcal{U}|x\in U\}$ is finite for each $x\in X$). In particular, a space is compact if and only if it is pseudocompact and metacompact. Since Metrizable implies paracompact implies metacompact, every pseudocompact metrizable space is compact.
For an easy example of a completely regular pseudocompact space that is not compact try the set $\omega_{1}$ of all countable ordinals. In fact, it can easily be shown that every continuous map $f:\omega_{1}\rightarrow\mathbb{R}$ is eventially constant.