If you dream you are attacking someone (physically or mentally), consider your feeling during the dream:
If you are attacking because you are angry at the person, you are probably really angry at them or something related to them
If you are attacking to protect yourself against an attack by them, you may feel threatened by that person's criticism, hostility, ambition, etc. in real life