You find out your degree classification shortly before you graduate from university.
Once you have the results from your final exams, you can use an online degree classification calculator to predict what your degree classification will be. Your tutor or academic services office will likely send you an email that confirms your official classification shortly after your final exam results are published.