Premanand Maharaj Ji
How can I pull my mind away from a person or thing I am attached to?
Replace attachment with Name and prayer
The mind needs somewhere to go, so move it to Bhagwan's name and pray for strength to let go. Do both: chant and pray.
So take the mind away from things, people and places, put it in Bhagwan's name, and ask Bhagwan for the strength to withdraw it.