Player weapon collision

Hi,

I’m using AABB for collision between player and enemies. Now, when the player has a weapon such as a sword, this is an extra sprite, thus when pressing attack, player
hits with the sword - what is a way to handle this collision, just do the same as between player and enemy but now treat this as a sword to enemy collision?

When player hits an enemy with sword, is it best to make the enemy bounce away as not to get hit straight away again, just trying to think what AI could be used in this situation?

Any advice is appreciated.

Thanks