I don't have the problem but what your doctor is saying sounds off to me. Antibiotics are generally prescribed to kill bacteria if you have a bacterial infection. Perhaps riding the bike is aggravating a bacterial infection, but I don't see how it could be the source of it.