While attacking mob hit from behind no attack

standing in high spawn area and archers hitting me from behind and i just stand there(stop), sometimes attack new mobs but archer still attack i do nothing, char will stop(stop) while archer attacks