Hello and Welcome back to JustAnswer.
Most Veterinarians prefer to wait until between 4-6 months and all vaccines have been given. While it is preferred to wait if possible they can be spayed or neutered at 8 weeks of age if needed. Most shelters will spay and neuter at an earlier age.
I hope this has been helpful,please reply back if you have additional questions or concerns.