Plz answer kinda stressing. Can a cold actually hurt Bub?

Ra

I’m 21 weeks pregnant and I feel like I got hit by a ton of bricks last night. No sleep. Itchy throat with slight cough then all of a sudden horribly itchy throat and it was swollen and making it hard to breathe. I was getting hot and stressed so I turned my heater down and that also made the swelling and itchiness go down but throat is still sore this morning after having horrible heartburn/reflux the rest of the night till around 7am then I finally got some sleep 😑😖😩 I’m just worried cause Bub was barely kicking yesterday then last night happened and I’ve heard that a cold or this stuff cause effect her. Any truth to it?