Hellooooo,
first I'm sorry that u are in this situation, I hoooooope u will get out of it with no harms and by benefiting from it, such as knowing how to deal with it if it happens again in the future (which I hope doesn't bc being addicted to humans can only be harmful but sometimes it can't be helped so we do everything we can to be the best of ourselves while being "trapped").
So a similar thing happened to me last year and thankfully I got rid of it a few months ago. It was hard, I won't deny it.
To be honest I didn't do much except literally trying to distract myself because I kind of knew that only time will heal this (I'm also a believer so I mainly relied on God but Idk if u are ^^). Also, idk how to say it, but if the person we are addicted to has literally nothing to do with this obsession, we must remind ourselves not to say words or do actions that might hurt them, bc we can unintentionally do it and regret later, and then more regrets and more problems... no thx.
THEN I thought of something, when explaining it, it may sound stupid or arrogant but it's really not + it's what helped me to "gain control" of my feelings: I thought to myself, what if someone is obsessed with me (pls don't get me wrong hihi) and hurt, exactly like how I was and constantly thinking about me and how special I am...I would think that this person, first of all, is not pitiful bc they didn't choose it, + I am not in any way special, I mean when you are aware of yourself you find it weird that someone likes u this much and is hurt because of this, right? So I think the main thing is when u see someone else being addicted you can't feel what the other feels so you see it as something unimportant and not that serious (but it is unfortunately) so I applied this thought to myself and I kept reminding myself that staying in this state will bring me no good.
After writing all of this, I can't think of what's this thought's goal, what's the meaning of it? hhhhh Because I really can't find how it is useful but it really did help me

Also, I wasn't healed right away, as I said, it took time and personally, while I did kinda suffer, it was beneficial, because now I can deal with it easiiiily.
And once again, I don't know if you are religious but for those who are religious and reading this, remember it is a trial and they are temporary.
Feel free to dm me whenever you have questions and don't lose hope please.