I'm aware that texting a girl in excess shows neediness. But what would be the solution? Should you just stop texting her?

I have a girlfriend and she's aknowledged that I'm slightly needy. I know that I am but am also looling to fix it. I ask to hang out often, I text her everyday to try and check up on her and try to be with her if shes around. But if I would try to be less needy does that mean text her less, hang out with her less and check up on her less?

How can I be better and less needy?