Getting pregnant increases the risk of certain infections, as this can lead to many changes in the immune system. During pregnancy, the immune system is well prepared to defend the invasive pathogens cells like NK cells and monocytes respond more strongly to viral infections.