To perform histological grading, a pathologist first prepares tissue samples through fixation, embedding, sectioning, and staining. The stained slides are then examined under a microscope, where the pathologist assesses the morphological features of the cells and tissues. Specific grading systems are used depending on the type of cancer or abnormality being evaluated.