Toxic Friend, Help!!

I need help, what do I do about a toxic friend that I really care about but can't stand to hold on to at the same time?