As long as you aren't holding your net, the tarantulas will not attack you Otherwise, maybe add more flowers and stumps so more of the other bugs can spawn instead.
So if no net, they run away?
They run away from you yeah :3 You can even chase them underneath buildings/inside rivers or the ocean to despawn them.