What to do when a female friend is acting hot and cold and she has a history of doing it with me?

We constantly fall out and then when we reunite she text me everyday or every other day at the very least but now she doesn’t text me at all.
What to do when a female friend is acting hot and cold and she has a history of doing it with me?
Post Opinion