How to Stop Damaging my self

I think the weapon damaging the character. Because when I use weapon like great sword everything is fine but switching weapon to one hand and off hand the character start taking damage when perform the attack move.