Cold while pregnant

This is probably a stupid question but my husband has a bad cold and he just gave it to me I'm 29 weeks and worried about my baby can my baby get sick since I'm sick or can me being sick effect her negatively at all?