Stick to the basics. Ride to increase your miles. I'm not sure how much time you have but you can increase slowly if you have some time. Eat right but ride, ride, ride. If you are able to 25 or 30 miles now, 50 is not that big a jump. You don't even have to have done 50 before the ride.