How do I prevent other's behaviour from rubbing off on me?

so my 'friend' (not really friend) is kinda toxic to me (yes i know i should stop being friends with her but i have no friends so..) and i can start to feel her toxicity rubbing off on me. how do i stop this from happening?

How do I prevent other's behaviour from rubbing off on me?
Post Opinion