It took me a couple of years. You need to take some time to be yourself again.
On the plus side, the wisdom of the failed relationship helped me to recognize and walk away from a second relationship that was following the same path. It let me see that my "type" was not a healthy choice for me. I worked on myself to understand what would be healthy for me.
Then, when I did find her, I recognized it right away, but it took me time to come to terms that I could fall in love with someone who wasn't the "type" I'd been attracted to before. When I did come to terms with that, it's been great. I'm a better person than ever, by finding a person who really was good for me, and who prompted me to keep becoming the best version of myself.
A woman I dated along the way turned me onto a book that helped me: Coming Apart by Daphne Rose Kigma. It helped her to recognize that while we had chemistry, I wasn't right for her.
My first divorce was when I came out as gay, my second divorce was what I consider my first break up. I had been with my wife for 12 years and then with my husband for 6. It sucks. I wish I had known I was gay back in high school so I could have had a chance at developing those coping skills earlier on in life instead of in my 30’s.
But I never cheated, never changed how I treated her or our kids. And then for 5 years I paid for her to live in our house and go to school to get a degree and enter the job market. Which is a rare story it turns out, my ex wife joined a lot of straight spouse support groups and was convinced by those people that I was a horrible person and was going to do awful things. She tried to kill herself because of them constantly telling her I was going to bring stds into the house or leave her destitute. Fortunately her therapist called me and we were able to get her the help she needed.
So be careful how much bitterness and anger you let into your heart amidst the support of people in similar circumstances. You need the support but you don’t need to be dragged down even further. Fortunately my ex recovered and now she is in the most adorable marriage with someone even nerdier than me, and couldn’t be happier. Your story doesn’t end here!
Your husband’s boyfriend sounds like he has a lot of fear that your husband will abandon him and go back to you. There’s a lot of fear all around, I’m so sorry you are having to go through this.
There’s a book called Coming Apart that’s a really good read when you’re trying to come to terms with why relationships end. It gave my ex and I a lot of perspective that ultimately helped a lot for both of us.
Coming Apart: How to Heal Your Broken Heart (Book on Breakups, Broken Hearts, Divorce Gift for Women, Healing a Broken Heart, for Readers of Getting Past Your Breakup or Love After Heartbreak) https://www.amazon.com/dp/1573247294/ref=cm_sw_r_cp_api_i_.FCeFbGP62W90