Help!

Found out I'm 8 weeks pregnant and I just had my wisdom teeth removed..they put me under, meaning to sleep while they did it...is that harmful and bad for the baby, I've been reading that it is, so now I'm scared.