How to use a locally sourced Images for training

I have collected some images that I want to use to build a model that predicts the class and superclass of the images. But I don’t know how to build the labels for each picture. Any help would be appreciated.