You dont stop it. All you can do is work around it and try and bend them over if height is an issue.

If height is not an issue, don't worry about it. She will stop growing taller and then start filling out.

Massive Height growth will cease about 3 or 4 weeks into the flower stage.