Don't give them an ultimatum about seeking help, as this can lead to more guilt or resentment in your marriage. Instead, say that you think the self-harm is a serious issue and should be treated seriously.
[header] How to cope if your spouse self harms [title] Ask them to seek treatment. [step] Do what you can to be supportive to your spouse. Often, this includes asking them to get help.