Show that a ring with only trivial right ideals is either a division ring or $|R|=p$ and $R^2=\{0\}$. Why would $R$ be finite?
To show that either $R$ is a field or $R$ is a finite ring with prime number of elements and $ab = 0$ for all $a,b \in R$.