Raster analysis

Hi there, I am trying to learn application of GIS. I was trying to make some analysis from raster images. Can anybody help me on how I can make analysis of proportions of cells from a raster (any pre-processing needed?). For example I want to calculate the percentage of pixel that show forest cover, farm, settlement, others, etc.