I truly felt like I gave it my all; went to counselors, read tons of books, ect. So, I ended up having an affair, no surprise there, got divorced and eventually remarried.
You might want to reexamine the "so I ended up having an affair".
That appears to be placing the blame for your choice of infidelity on your ex-husband. He was responsible for his failures in the marriage as were you, you were 100% responsible for choosing to solve a marital problem by having an affair.
How long did your first marriage last and when did the sexual issues start? Are there any children involved? Was your affair partner also married? Is your current husband your former affair partner? Has your curent husband been married before?