Please google "Hot Foot Spells." Those will get him away.
Then do a spiritual cleansing of your home and put up some sort of protection. You can also google "Fiery Wall of Protection" for spell ideas. I cannot stress protection work any more strenously. There are a lot of options on this topic.
If you do *not* have children together (which adds a whole level of complication and if so, then this advice would not be appropriate) you may also be interested in "Cut and Clear" spellwork, including a Black Walnut bath, to cut those psychic ties that bound you and to help you move on emotionally and spiritually.
If you do share a child/ren with your ex, please PM me or say so in a post, and i'll have other suggestions, should you be interested.
Best of luck.