Academic renewal and repeated course

this is my question, i took a class in community college and I fail the class, then I took that class at university level and got a C , is required to repeat the course or that counts as academic renewal?

you have misunderstood the concept of academic renewal. It is a process where a school such as a CC expunges some old classes from your record. See http://admission.universityofcalifornia.edu/counselors/q-and-a/calculating-gpa/index.html#2

What you have done is repeated a class. If you fail a class then UC will use the grade you get when you retake it. However the classes must be similar, which may be a tricky thing when you took it at both a CC and a university. See your xfer counselor for advice.