Your question leaves out your personal situation, so I have to do some guessing.
Are you talking about an unrequited love interest?
In that case, my grandmother's words come to mind; "Never run after a man or a bus. There'll be another along in a minute." My father taught me never to initiate; that if someone approaches me their interest is likely to be genuine. That principle turned out to have several serious flaws in it, but still I never learned how to initiate. Somehow I find I have zero interest in any relationship that isn't mutual, no matter how desirable the other may seem.
Or, are you in a relationship with someone who has switched off and become distant?
In a long term relationship, I accept that it goes through phases and good communication and listening is essential to success. If my husband has put up a wall, it means he's angry about something and I need to find an appropriate moment to get him to talk about it. No matter what it is, my job is to listen carefully to his feelings and needs before we can begin to work it out.
Or, are you feeling rejected after someone has ended the relationship?
If a friendship ends badly, I'm likely to feel upset about it for while, and I will churn over what happened in my mind from every angle. Was there any clue in the beginning that made what happened inevitable? What were the signs that something might be wrong? What did I do wrong? How can I learn from it? Once I've learned, the letting go becomes easy.
This post was edited by Benedict Arnold at December 31, 2017 4:21 PM MST
Be busy with things that take concentration and attention. There is no way not to let the thoughts creep in but you have to figure out how to move forward.