Keep it out of the house is the first consideration, Make sure it is just the four, or at least not loads and treat with Cuprinol or Rentokill,as a can or a spray from the sheds etc, and keep an eye on it.
Go on Google and look up what to look out for in woodworm action.
If it's a big area of worm, you may want some of the Boron from the link, below, I'm told it's very good.
Mix it as a spray, you need the usual precautions with a poison, and spray twice, apparently also acts as a fire retardant
Too!
HTH Regards Rodders