Hello Jones5309,
Thank you for reaching out to Apple Support Communities.
If you feel your Apple ID account has been compromised, let's first gain control of your account following these steps:
"Gain control of your Apple ID
- Change your Apple ID password
- If your Apple ID password has been changed by someone else, reset your password.
- Go to appleid.apple.com to update any of personal or security information that isn't correct or that you don't recognize.
- Check with your email address* provider to make sure that you control every email address associated with your Apple ID. If you don't control an email address, work with your email provider to regain control or use a different email address."
Additional details and steps can be found here: If you think your Apple ID has been compromised
Can you also provide a few more details? Are you using a password that your ex husband may know? Has he ever logged in or used your device before? Also, when did you first start noticing these email addresses?
Cheers!