help !!! pain killers at 5 weeks

I have chronic toothache so I've had to take co-codimal I'm only 5 weeks pregnant will the baby be okay?