How do I get over it?

Recently, my marriage almost ended. My husband found someone else during a time in which he no longer saw us as a couple but while I still did. Their relationship lasted about a month and killed me every single day. She made him choose between her and his family (me and our kids). She is gone and he and I are back together. I'm struggling so much with working past what happened. I've read messages between them. The girl and I are exact opposites. Every hang up I had, she was open to. Emotionally, physically, sexually. She was everything he wanted. Yet he's with me. I'll never be those things. And I don't know how to deal with it or be me anymore. He wants us to work for our family. I still love him. But I'm in so much pain. What can I do?