We're given a group with order $p^{2}$ ,where $p$ is a prime, we need to show that $G$ is cyclic.
Since its order is $p^{2}$ there's an element $a$ $\in$ $G$ such that $a^{p^{2}}= 1$ ,
Could anyone tell how to proceed from here or any other approach?