3 years old is a fine age to get spayed, but avoid getting her spayed while she is in heat, or within the next 2 weeks after her heat. Some vets will do spay dogs regardless of whether or not the dog is in heat, but there's extra risk and alot of extra bleeding and longer recovery. Just words of advise. As long as she's not in heat you should have no problems.