Block by holding a direction away from your opponent, and parry by pressing towards them right before getting hit!