1. Immediately go no contact and ghost. No explanations needed.
2. Provide a data dump to the spouse. Pictures, texts, etc. Fuck that dude.
3. Find a good therapist who can unpack what happened in your childhood that makes you keep picking loser boyfriends who treat you like trash.
IN THAT ORDER.