ingrowing toe!

So painful, I've had two toe nails big toe nails off, due to being ingrowing.
It come back ingrowing, and is now infected, and I need to see my doctor.
Can this harm the Baby?!