We all have struggled and I can only share what I have seen work.
If you are new here please flow this link for the welcome package.
www.guardyoureyes.org/forum/index.php?topic=3677.0 If you have acted out with live people I suggest you contact Dov. He was an addict for decades and is clean 14 years with SA.
Many find it helpful to share their story here on the board.
For many it is very helpful to join a call.
www.guardyoureyes.com/tools/calls Dr. Twerseky says that people who acted out with others in person need live SA groups. There are frum ones in bigger frum cities.
Dr. Twerskey also says that the key to recover is committing to and maintaining absolute honesty. You probably will fall again but you MUST share it with the your group (not your wife or co-workers)
Many have come back from very far if they are willing to work hard. The work is WELL worth it.
Hatzlacha my new friend
Your fellow HY