If the wood is small enough it’s a good idea to boil it first. Not only does that kill all the stuff already living on the wood, but it also helps remove some of the tannins that will otherwise turn your tank a tint of yellow/brown. Which I guess has no ill-affect on the fish, just your viewing...