Ride, ride, ride. Keep trying, you'll make it further each time.
There is a road bike racing subforum in the road bike forum that has lots of threads about training for racing. I would guess probably work on 20 min intervals until you can hang with the pack, then get more specific with training.