Love addiction


I have been thinking about a particular person for a significant amount of time . The relationship did not work . Yet i feel connection and longing at times . I cry a lot of times and ruminate . How can i get out of this.
Thanks