Firstly, don’t contact him, or his wife.
If you have his number - block and delete it. If he and his wife are on social media - block them. Then you have absolutely no temptations to snoop on them.
Secondly, you need counselling or therapy to talk through your previous abusive relationship.
Then, you need to slowly but surely work on your self worth and self esteem. This means no dating. You are vulnerable and will only attract men that will have no respect for you and treat you like shit.
Get outside. Out in nature. Now it’s getting lighter and (hopefully) warmer. Go for walks. Run. Jog. Or just find a nice bench and sit and appreciate the outdoors. Movement and nature is one of life’s best natural medicines.
Join a gym, Pilates group, go lane swimming, travel to a new place for the day, read books, go and see some live music. Or even go and book in for your hair or nails doing.
Do absolutely anything to keep yourself busy and occupied.
But ultimately, don’t punish yourself. You know what you’ve done is wrong. So you need to learn from it to never get involved in a situation like this again. Accept what’s done is done. You can’t change the past. You’ll never get closer from the guy, so it’s best to make peace with yourself.