How do I get over an asshole?

My ex is a immature inconsiderate asshole and I keep trying to make him understand why I act the way I do when he continuously does fucked up shit. Basically he ain't shit and I just keep trying. I guess that means I ain't shit either. Especially since I keep dumbing myself down for this punk. I hate myself for continuing to love him. Idk how to stop feeling like this