So if $p$ is a prime number and $p = 1$ mod $4$. So I shows that $[-1]_p$ has a square root in the field $\mathbb{Z}/p\mathbb{Z}$ and also that there is some $n$ such that p divides $n^2+1$.
Now I am having trouble taking n from the above part and showing that $\mathbb{Z}[i]$, $p$ divides neither $n + i$ nor $n- i$ Conclude that $p$ is not an irreducible element of $\mathbb{Z}[i]$.