Dental appointment

Anyone had any dental work done and you just found out you’re pregnant? Is it safe? I am only 4 weeks out. I wanted to get a filling and a crown, which the dentist will use lidocaine.