I'd recommend using the Lone Wolf Ashes or Godrick Soldier Ashes, which you can find in the jellyfish-filled cemetery west of Stormhill. You won't have much time in between Margit's four-combo attacks, so focus on dodging and healing until he slams his staff or hammer into the ground, then punish him.