Will retaking a class I failed raise my GPA?

When you mean not factor into calculations, do you mean it won’t change my GPA?