That is what my doc---a major cyclist and all around jock--suggested when I was having them regularly. I would put on a little antibiotic creme or ointment before the ride, and also after my shower. It was a big help.
"My predominant feeling is one of gratitude. I have loved and been loved;I have been given much and I have given something in return...Above all, I have been a sentient being, a thinking animal, on this beautiful planet, and that in itself has been an enormous privilege and an adventure." O. Sacks