I have been there 2x.
The first time, it officially lasted for 6 years–I kept thinking about her. Things changed when I met another girl. Unfortunately, it didn’t work out with this girl either so I was back to square one.
For me, I normally don’t give up.
The hope is just always there. Something extraordinary has to happen for me to say “Ok, I give up”. It’s too easy to tell someone to let go because it’s damn hard to let go.
Luckily for me, my schedule was/is in such a way that I am generally in control of my mind. But occasionally, these
2 girls dominate my thoughts. And for me, the number can only increase. I believe once you are into someone or if you really “love” someone, you would always love that person even if you both live in different planets or even if you marry someone else.
What really helped me was reading the book The Power of Positive Thinking. I was a top thinker before reading the book. After reading the book, I still call myself a thinker

but I am in complete control of myself. I simply like to think but it doesn’t affect me in anyway. (Ok, somewhat e.g. I’m a damn slow reader because my mind is always somewhere else.

But it depends on what I am reading and I don’t like reading in the first place.)
This last ordeal actually brought me closer to God.
So
inspirational reading, faith, discipline, a planned daily routine and something else are my driving forces.