1 Corinthians 7: 12-16 Being married to an unbeliever

Paul gives the reason why a Christian should stay in their marriage to an unbeliever. Paul and others had brought the gospel to the Corinthian Christians but not everyone believed in the Lord Jesus. Many couples would have come to faith but of course there were some where only one of the spouses came to faith. At times a husband would have come to faith but his wife clung to the old ways and at times a wife would have come to faith but her husband hung on to the old ways of their previous religion. What to do in those circumstances?