Food may spill while you're carrying it to the customer. If it does, you'll need to contact Rider Support through the Rider app to let them know and they'll ask the restaurant to re-make the order. You'll then need to responsibly dispose of the spoiled order.
After a spillage make sure to clean all your equipment thoroughly to avoid cross-contamination.
You can find about more about food safety here.