How can I stop myself from growing taller?

Don't. Why would you want to. Your body is telling you what it wants/and is going to do. Stunting growth is not recommended unless you have a rare condition in which you would need to be diagnosed for.