Need advice

Tenea
I have a cavitity and am suppose to get a root canal but I'm terrified of the dentist horrible experience when I was younger... I was wanting to know can this effect me while I'm trying to conceive a baby