Has anyone had a filling at 16 weeks pregnant and is it safe

Is it safe