Kill it with the sword.
But surely you don't have the sword yet.
You'll have to engage the help of a nearby friend.
The owl will eat the spider for you. Summon him with 'hoot'.