Do UC's look at your overall gpa or your transferable gpa?

My overall gpa is bad because I fail a math class that not transferable so I don’t know what to do

UC’s consider only UC transferable classes in your GPA.