I'm trying to connect my Samsung TV to SmartThings and I keep getting my neighbors TV instead

I’m trying to reconnect my Samsung TV to my SmartThings app on my phone. The code would not come up on my TV but I found out, it was my neighbor’s TV I was trying to connect to. He’s not even on my network. How can I connect to only my TV, not his?