Being sick while pregnant

I'm starting to get sick, I'm starting to have a dry cough and it feels cold when I breath in, will my baby be okay? If I get the flu shot tomorrow will I not get sick nomore, also what can I do to prevent it from getting worse :/? I'm a FTM n worried my baby will get sick inside too?:/ I'm 24w pregnant