Earn Stars by completing level objectives. Some levels require you to serve a certain amount of Customers, Coins, or Hearts!
 
 
There are also timed levels as indicated by the purple banner, so make sure to check the Level Menu to see what objective you need to do!