Feeling Stuck

Was planning to leave my husband after dealing with his behaviors for too long and then shortly after found out I was pregnant. I love him but I don’t want to keep getting hurt. I have another person to think of now. But part of me wants to see if he’ll change and we can have a steady family as a couple. I know it’s stupid.....