
Be aware of your energy. A pregnancy affects the entire household. You may feel excited, anxious, or worried. Remember, your dog will mirror your emotions.
Claim your baby's scent. Bring an item that contains your baby's scent, such as a burp cloth, from the hospital before bringing home the baby. During this exercise, it is crucial that you set clear boundaries. Challenge the dog to sniff from a distance, while you are holding the item. By doing so, you are communicating to your dog that the item is yours and then giving permission for the dog to sniff. "This new item belongs to me, and you will need to follow my rules when around it." This helps start the process of creating respect for the baby.
Establish boundaries around the nursery. I recommend starting with the nursery off-limits. Condition your dog to understand that there is an invisible barrier that she may not cross without your permission. Eventually, you can allow your dog to explore and sniff certain things in the room—with your supervision. Then you decide when she needs to leave. Repeat this activity a few times before the baby arrives. This will let your dog know that this room belongs to a pack leader and must be respected at all times.

Teach your baby. Once your child is in the exploratory state, it is important to supervise all interactions between him or her and the dog. This is a great opportunity to teach your child not to bother the dog, yank her tail, etc. These lessons on mutual respect cannot begin early enough. Too many children have inadvertently provoked an otherwise peaceful dog, simply because they were unsupervised or their parents had not given them proper instruction.
Don't forget the dog. A dog does not need toys or special attention to feel important; you simply need to maintain the routine, providing daily walks and consistent leadership. This will help your dog feel secure and allow her to relax about the new addition to the family.
Forget breed. Don't assume your dog will not pose a problem based on breed alone, or vice versa. Sure, babies have been bitten by Rottweilers and pit bulls, but they have also been injured by labs, chows, and mixed breeds. A baby in Rhode Island was killed by a cute little Pomeranian. What is the key? Leadership. Be honest with yourself. Can you control your dog at all times in all situations?
Your child's safety comes first. If, after working with a professional and on your own, you are still not able to be 100% pack leader with your dog, then you must seriously think about using those nine months for finding your dog another home.