Am I a coward?

Someone said that being afraid of a huge, strange dog running towards you and barking loudly was cowardice; they just wanted to play, this person said. Is that true? I'm afraid that one of those creatures might bite me, so I panic, either trying to run away or yelling at the dog. I've been bitten…