All I can say is a definition of chastity is:

Chastity is a near synonym of virginity, the distinction being that chastity views sexual integrity in terms of faithfulness to a spouse, rather than as absolute inexperience. - American Heritage Dictionary

So, if afterwards you repent for your act of 'zina', you are allowed to marry but should be faithful to your spouse.