I think I would just throw them out, mould can be really dangerous, especially for little ones. As for preventing it, sorry no advice there.