Dental work, in early pregnancy

So I have to get some teeth pulled and a root canal. I didn't know I was prego when I went and got x-rays, so I wasn't covered by vest thing. Also, my tooth is infected, so I have amoxicilin (SP) I'm wanting to know, has anybody taken penicillin or amoxicilin in early pregnancy? Also have you had dental work done? I'm only about 3-4 weeks along....