If you're sure you have a woodworm problem, you need to identify which type of woodworm you have.
Common furniture beetle
This beetle rarely causes major structural damage. However, despite its name, it doesn't just bore into furniture, it can also attack wooden instruments and wicker goods. So check all wooden items regularly to make sure they don't get damaged.
If you find evidence of infestation, the larvae can usually be treated easily with a proprietary woodworm killer that you just apply directly to the piece of furniture or structural timber.
If you think you have an extensive problem, it may be worth employing a trained expert.
Death Watch, Powder Post and House Longhorn beetles
An infestation of these beetles can be more problematic than the common furniture beetle. Although, thankfully, they are more unusual and therefore less likely to cause a problem in the first place.
The British Pest Control Association recommend that if you think your structural timbers are infested, you should call in professional help. To get rid of the problem they may need to use products that are not available to the public.