What would you do?

I was seeing a man I ment at work..it was going so good.. I thought.. I found out he was married!! I didn't confront him I wanted to seek revenge and feel awful now because I got pregnant!! I want no part of him what should I do?! He has 3 other kids with his wife.