You might want to ignore the kid issue. Do you want your wife forever?
If you do, then consider if can you forgive and somewhat forget her having sex and moving in with someone when you were married?
If yo do, then consider if you can hold a baby and just see a baby. If you can, you can love and parent him or her...1/2 is your wife. If you really don't like babies, can you handle hearing a cry that is 1/2 from a man who had sex with your wife? Can you put that aside - as said in the other post - the baby is innocent.