My first litter just wondering when to wean them.

Its been about 3 weeks since they hatched some are eating on there own but i still catch them nursing when should i throw the mother back in with the breeding pop?