Select a stage on the map and race the missions within. Clear each mission to unlock the next stage.
When you complete a mission you'll be ranked from S, the highest possible rank, to D, the lowest.
Complete all missions in a stage to receive your overall best rank for that stage. Race the stage again if you're not happy with your rank but note that you will have to re-race all of the missions in that stage again.