Let $n$ be a positive integer such that there is no $m$ such that $n = m^2$. Suppose $\sqrt{n}$ is rational. Then there exists $p$ and $q$ with no common factor (beside 1) such that
$\sqrt{n} = \frac{p}{q}$
Then
$n = \frac{p^2}{q^2}$.
However, $n$ is an positive _integer_ and $p$ and $q$ have no common factors beside $1$. So $q = 1$. This gives that
$n = p^2$
Contradiction since it was assumed that $n \
eq m^2$ for any $m$.