My ex keeps trying to kiss me.

My boyfriend of three years broke up with me last week. I think it's for the best and was ok with it. We've had a rocky relationship. We have to live together for the rest of the lease on our apartment. Things have been going well and he got a blow up doll, I'm happy he's happy. The only thing is that he keeps trying to kiss me and make a move on me. He keeps touching me. I don't want anything to do with this but how do I make him stop?