When it's strung out and the pace slows down, use the opportunity to pull out of line and let your momentum move you up instead of staying behind the rider in front of you and braking.
In a multi-lap road race, look for places where the shoulder widens and remember it. Next lap, be ready to pull to the right and move up before the field spreads out since a lot of others won't take advantage of it.