If you don't want a bad name after a divorce or even a boyfriend-girlfriend break-up, do a Harassment Restraining Order against your ex right away.
The restraining order stops from them harassing you further. That includes badmouthing you to others.
I'm not encouraging lawsuits. I'm just giving you an idea on how to protect your image. You already know how rampant badmouthing can be in our community.