This is not easy, but I guess there is nothing easy about living an adult life. We each face different types of hardships and how we deal with them is what matters. You were honest with your partner so that's a first step in the right direction. Only you can answer with time whether you will do it again or not. And that might lead to whether you have a chance to continue in your relationship. I tend to have complete trust in someone with a one-strike policy. It would be difficult for me to continue in the relationship, but I do have friends who stayed always on high alert about a possible second time.