Your regular family doctor or child's pediatrician can treat an ingrown fingernail.
There's really no special doctor that I know of that treats specifically ingrown fingernails as just about any doctor can treat an ingrown fingernail or ingrown toenail.