Ha is the set containing all elements of the form h*a, where h is in H.
What is the definition of a subgroup? It must non-empty, closed under multiplication and closed under inversion. So if Ha = H, then [tex]h_{1}a = h_{2}[/tex]. What does this say about a?
If a is in H on the other hand, and H is closed under multiplication, what does this say about Ha?
Finally, to prove that H^2=H, we need to show that [tex]H^{2} \subseteq H[/tex] and [tex]H \subseteq H^{2}[/tex]. First, naively, which one is definitely contained in which? Next, if H is closed under multiplication, what does this say about the relation between H and H^2?
Good luck!