If you have a finite group, say G with no subgroups apart from {1G } and G. How would you go about showing that G is cyclic and that the number of elements in G is either 1 or prime?

I know that the order of this group is 1,but how would you show that this makes it cyclic, by Lagrange's theorem?