I made a huge mistake.

I've been married since 2011 and we've been broken up since 2013. I've met my boyfriend within that time whom I truly care and love. However my husband won't let me see my kids so I kind of lead him on and send him a few pictures. Well my husband sent all our texts and emails to my boyfriends babies mom. Now we're in a huge turmoil and I've come to realize I'm not the only one who's made mistakes. My boyfriend took his bms side and totally blindsided me with the findings. I currently may be pregnant with my boyfriends child. Any advice? And please keep the hate off of here. I know what I did was wrong.