Prove, that $p\in\mathbb{R}[x]$ with $p=x^2+ax+b$ is irreducible if and only if $a^2<4b$.
$"\leftarrow"$ Let $a^2<4b \iff b>\frac{a^2} 4$
\begin{align} &x^2+ax+b=0\\ x_{1/2}=&\frac a 2\pm \underbrace{\sqrt{\frac{a^2}{4}-b}}_{\text{is negative: } b>\frac{a^2} 4} \end{align} $\implies$ We have no roots! Therefore, the polynomial is irreducible
$"\rightarrow"$ Assume, $p$ is irreducible, $\nexists q,z\in\mathbb{R}[x]:p=q\cdot z$. How to go on now?
For $\rightarrow$ you can prove the counterpositive. Assume that $a^2\geq 4b$ and conclude from that that $p$ factors.
The same quadratic formula gives you that the factorization works over the reals, since this time the radicand is non-negative.