The psychological reading
The dream rarely predicts an attack. More often it replays tension that has not been spoken aloud: resentment, rivalry, a feeling of being judged. Sometimes the enemy carries traits you dislike in yourself, such as anger or stubbornness.
What you did is the key. Fighting back suggests you are ready to defend your position.
Hiding hints at avoidance. Talking calmly with the enemy often signals that the conflict is already softening inside you.