@anthracite I can tell you what I've done for mine, but of course your mileage may vary. I used to have hair that was halfway down my back, and then i bleached it a few times to dye it purple, and then I shaved most of it off, and after that it didn't want to grow long again. It used to grow very fast and I had to get haircuts frequently, but no longer.
I use a wet brush after I shower to prevent breakage, and for a while i slept on silk pillowcases and tried to dry it with a microfiber towel for similar reasons, and I finally found a good hair care routine with products that really work for my hair type, which is thick and curly leaning toward frizzy if I'm not careful. I take various vitamins and supplements, not specifically for my hair but I think they have side benefits that help. Trimming split ends helps to keep hair healthy, which helps it to grow. And I don't wash my hair every day.
But everyone's hair does have a terminal length where it just won't grow any longer, and if that's the wall you're hitting, there's not really anything to be done about that.