To get more stars, you need to win races and cups, and you will also earn stars if you play online! After you finish a cup, your star count will be displayed on the main menu. To see how many stars you have earned, go to the Main Menu and tap on "Stars".