Hello and welcome!
I am so sorry about the loss if your child. Even though I do not have children I know there is nothing worse. So many people find that loss can accelerate a drinking problem. And if one good thing can come from this it is your realization that you need to stop.
I have found that by viewing A life without alcohol as a blessing instead of a burden I can embrace sobriety joyfully. That has been a key for me. I am close to 17 months with no formal program (I do SR and have had therapy for non-alcohol issues). I don't actually recommend the no program approach but it can be done.
Congratulations on your pregnancy. You and your family are in my prayers