If the dog was approaching me and i wasnt sure what he was going to do..i would first try a simple.."HEY!" or "STAY!!".,..or "SIT!".. and put my hand up as a signal (never know, he may have been trained.
)
If i thought he was friendly, i would have him follow me home and i would call the dog officer...or try to check his tag... (although, i would be REALLY leary of trying to touch a dog i didnt know..)
If i thought he was interested in me, but still fearful, i would start to walk slowly and calmly back to my house, talking calmy the whole way back, and not turn my back on the dog...
If i thought he was going to attack i would first try to use my voice and body to make myself "bigger" to him..to hopefully make him think twice before attacking me...
If he attacked me... well,.. what you DONT do is run..IMO..
I guess i would have to stand my ground... i know i can put a big dog down on the ground(having raised several giant breed dogs).. but the LAST thing you really want to do is do that, because they will just go into more of an attack/panic mode, then you're really in trouble and i can guarantee you WILL get bit.. (but if i HAD to do it, i feel confident that i could flip the dog *and get bit at the same time also*.. but then it would just get back up again... but maybe it would make it more "leary" of me??) NAh... probably a bad idea..
.....
So... not sure what i would really do there... some say get in the fetal position and protect your head /face/neck/stomach....
But if you have to fight, you have to fight... go for the eyes, if its latched on to your arm/leg... take your other hand and gouge out its eyeball.. *sorry sounds gross, but i bet it would work..*... or if you can get it down and get your hands around its throat...