How do you remove old stains on baby clothes?

Found out #2 is also a boy. I’m pretty relieved seeing as I saved everything my son used. My son 4 now. I was going through the baby clothes and more then half of them got those stains they get from getting old. Any tips on how to successfully remove old stains?