If fornication be committed between unmarried persons, they shall be admonished by the judge to discontinue every kind of intercourse with each other, under the penalty of banishment for the man, and confinement for the woman, during such time as may be necessary to operate a reformation.