It is safe and important to get a flu shot while pregnant, as it can decrease the risk of influenza virus for the mother and her baby.