What stage is most crucial in removing AI/Machine Learning bias?

Values, Machine Learning, Artificial Intelligence - What stage is most crucial in removing AI/Machine Learning bias?