The best idea is to not see any doggie a long time. Do not look in to its eyes it might think you are gonna attack it. When it is coming closer to you just do the confident stare at it and get as high as you can. If it comes too close to you get of the bike use it as your weapon. If you are attacked by two or more dogs just don't let them to corner you from four sides. When it jumps on to you get ready. To Kick some A**S. then just go off its territory. But the nest thing is to not look at dogs. Singing might hep you.