How do I get him to respect me?

How do I get my ex to stop coming to me when it’s convenient and abusing my care? I don’t want to cut him off for that to obviously stop, but how can i get him to stop that behavior or to treat me better? I know he obviously needs professional help but, any tips?
How do I get him to respect me?
Post Opinion