Prove that if $p \equiv 3 \pmod {4}$, then $x \equiv \pm a^{(p+1)/4}\pmod{p}$ are the solutions of the congruence $x^2 \equiv a\pmod{p}$ if they exist.
I know this has to do with Euler's criterian. But other than that I'm not sure how to start the proof. Any help is appreciated thanks!