I'm going to give my friend an ultimatum
Why? Do you really want to give an ultimatum to your friend?
I am tired of taking care of them.
It is normal for friends to help each other out. If people are taking advantage of someone there should be some separation so you do not feel used.
I deserve all of it.
Nobody should feel like they deserve to be treated poorly.  If this is a way you feel frequently you should speak to a professional about working on your feelings of self-worth!