DNA testing to prove who is the actual father. AND if the soon to be ex is not the father then you go to the real father and work out a plan to raise the child together - whether you remain together or not.
Well if its his child there will have to be a custody agreement as with any child. If its not his child youll most likely need to prove it with a paternity test but that will be easy enough to do at birth. Of course if its not his that will give him more grounds to fight for more stuff in the divorce proceedings.
Don't commit abortion, don't lose the baby, and don't get stressed to the point that you have a miscarriage and lose your child. Just stay strong and keep a positive sharp mind and your head screwed on tight. And also another thing when you do have the child don't give it away you made the choice of developing him/her now you must please and dearly raise them. I'm not trying to make you, but it wasn't the child's fault of what your going through right now and for whatever else is going on in your life....
This thing happens, my mom and dad were going to get divorced and then i showed up. Just see how it gos and if y'all can stay together, if you really think it will not work out it will not hurt the baby's mind because you and him have already been divorced. And if you really think abortion is the only way do it fast.
My last son came about at the end of my divorce, he's the best! A good reminder of the passion I had for her. Then she ran off and got married a month after the divorce. Life is odd like that but kids are the best!
You raise it with support from the father. Assuming it's the husbands baby, generally a baby doesn't hold things together, if you are thinking it will put things back to normal, it's added stress. Baby won't save the marriage but you might find that it saves you.
Most courts will demand Dna testing of the child to prove it's lineage, so support for the child will fall squarely on the person who fathered it. Most courts no longer assume the child to have sprung from both parents simply due to the high number of illegitimate births coming as a result of marital infidelity.