After a ride you should ideally consume fluids with adequate salts, and with the fluid amount recommended being 1.5x the amount that you lost during exercise. However, this isn’t always easy to measure, so drinking to feel is the easiest and still very effective practice.
Carbs wise, you should be consuming in total (from drink and additional food) between 60-100 grams of carbohydrate, depending on the duration of the training, the intensity, and the training you have in the following days.
Protein should be 20-30 grams as more than this has been shown to not result in any additional protein synthesis or muscle repair. 20-30 grams every 3-4 hours is best for optimal recovery.