Whilst fighting the worm shoot it with flaming arrows in between attacks you'll get burning dmg plus your dinos dmg

More Deathworm Encountering Tips