not just drive the course, but RIDE similar rides. maybe not 50 miles, but be sure you can do 40 miles of hilly rides before you agree to a ride like this!
That's a tough ride you did. be proud, and next time be more prepared.