Extremely scared

So I’m about to be 8 weeks, I found out at the hospital today, I’m in shock. I was on the depo and it was supposed to be due soon. So what I’m scared of is that I took NyQuil and DayQuil the past few days because I was sick with the flu and I didn’t know I was pregnant. Will my baby be affected?