I'm sorry that you had to endure abuse with your ex-husband. I am so glad you were able to leave that situation and get your life rebuilt! You are stronger than you think!
Could you call the domestic violence office in your town and ask about "healthy relationships class?" Sometimes this is offered as part of recovery. Even though you are not longer in the abusive situation with the husband, learning healthy relationship skills is something you could benefit from so you don't get sucked into another one of those relationships.
Maybe also Google?
You can do this -- take your time. Already you were able to leave the BF and walk away. That's a good thing too.