She ignores me, then talks to me?

This girl I like, but she ignores me like 90% of the time. Then when i least expect it she text me "where are you" or just follows me around and talks to me. What do I do?
She ignores me, then talks to me?
Post Opinion