Marrying After Zina
If its something in the past before marriage, then do sincere repentance with a commitment to live the rest of your life staying pure and loyal towards your spouse. Please refer to the following video : https://youtu.be/Sj_ZgpZJ8fQ?si=vWpATxpX38ZIoc9L