Carefully prune your friends tree so that it no longer contains parasites of any variety, and the mentally ill that refuse to get help and instead subject you to their bizarre behaviours and expensive demands.
Having done this I am no longer getting weakly calls begging for money, for me to drive across the city in the middle of the night to deal with other people's 'emergencies', for me to spend hours on the phone trying to convince the person on the other side that the latest heinous crime I allegedly committed against them never remotely happened and that yes, I do believe them when they rant for hours on end about the global covid vaccine conspiracy...
On the downside I no longer have any friends. On the upside I'm no longer paying a fortune in tolls, petrol, phone bills, loans, and miscellaneous gifts, or freaking the fuck out whenever my mobile rings because my nerves are paper thin from dealing with incessant batshittery, attention seeking, active attempts to sabotage any endeavour that diverts my attention away from them, or "muh trauma and CPTSD".