Sick while pregnant

Brittny • Me and my husband have been together for 8 years and married for 2. We decided almost a year ago that we wanted to finally start our family. It has been a longer road then expected but we are hopeful!
I have recently become sick. Nothing major just a sore throat, drainage, and a cough. I have had terrible coughing fits the past two days that will cause my stomach to cramp up. Can this affect my baby? This is my first pregnancy so everything worries me! Thank you for any advice ♡