How Do I Get Over My Ex

Question: Why is it sometimes so hard to not love your ex girlfriend even though she was quite cold and left you because she didn't love you. My brain says I should not think of her but my heart says different Well I hope one day I will find some more intelligent woman.