Some breeds like retrievers tend to be more tolerant of babies than terriers who can be more high strung.
Let your dog smell baby items like blankets before bringing baby home. Take it slow and don't force interactions.
Refresh your dog's obedience training and work on commands like "leave it." Practice these with baby items.
Dogs should have access to quiet zones away from baby. Baby gates can allow separation when needed.
When introducing dog and baby, keep dog leashed and supervised. Correct negative behavior immediately.
Make sure dog still gets 1-on-1 time and attention. Walks, play time, cuddles. Don't ignore them.
Never leave baby unattended with dog. Install gates and crates to keep baby safe when you can't supervise.