sex before marriage

If you messed up and had sex before marriage in a relationship is it too late to try and tell the man you want to wait now? Or should you leave the relationship all together. Or did anyone have premarital sex with the current husband and at one point choose to wait ?