How do you stop a spouse from getting credit?

That is the decision of a lender not the spouse who wishes to prevent the action.