the child might be in severe ... pain. don`t try to pull out any loose nail by urself.
2nd keep her feet in cold
water [normal temp], she will feel the relief.. to some extent.
3rd u can apply neosporin
ointment /powder to the toe, to avoid any infection.
if ur still not satisfied... then go u a Dr.