Safe??

I’m very sick, have been for about a month now. I have a horrible horrible cough. I’m 7 weeks today and I took mucus relief dm and I looked up that you’re not suppose to take that, really. Has anyone ever taken it and been fine? I’m very worried about the baby now.