The ranking of the university as well as the reputation and prestige should be considered. Other factors are the quality of the program and professors. However, some students consider practical issues like their budget so location of the university and fees are important. Other students base their selection on the hype of a booming social life.
The University should be not far from your location; the atmosphere of interrelation between students and teaching staff should be friendly, better if it will be a famous University. Still - everything depends on yourself.
Program of interest, location, cost, future career, level of support, reputation... are all factors that should be taken into consideration when selecting a university.
I think for practical purpose, you need to consider the location, costing, amenities, courses being offered and others.for professional purpose, consider the performance rating in the local and national board exams (if applicable)and employability. Faculty and facilities for a conducive learning environment should also be considered. And of course, world ranking if possible. How does the university fair in the world competition and achivements can also be included in choosing a university. But in the end, it is all up to the student who wants to study.