Prove that a ring $R$ with no non-trivial right ideals and $aR=0$ has $|R|=p$ prime

Let $R$ be a ring such that $R$ has no non-trivial right ideals. If there exists a nonzero element $a \in R$ with $aR=0$, prove that $|R|= p$ where $p$ is prime.

Solutions Collecting From Web of "Prove that a ring $R$ with no non-trivial right ideals and $aR=0$ has $|R|=p$ prime"