Calculate Average Error Rate in KNN
Based on the explanation you gave I think you are talking about k-fold Cross validation.

Assuming it as k-fold cross validation then you need to take mean of all the error rates. And the mean outcome would be your final error rate.