What is the best way to get more 5-star customer ratings?

The best way is to improve the guest experience first, then ask happy customers to leave a rating. Focus on food quality, speed, order accuracy, cleanliness, and friendly service. When those basics are strong, asking for ratings becomes much more effective.