How do I cut off toxic people when I get attached too quickly?

I am just bad at cutting off the toxic and bad people from my life.
Because I used to love them too much more than they deserve.
And especially when with a girl.
Tbh I fall in love too much too quickly when no one falls for me🤕
How do I cut off toxic people when I get attached too quickly?
Post Opinion