Welcome to the Bunnings Workshop community @mandy18. It's wonderful to have you join us, and many thanks for your question about treating woodworm.
Can I please confirm that there is live woodworm in the timber and this is not old damage? If this is old damage, then there is no need to treat it, and the holes can be filled with timber putty. For a live infestation, the most common treatment would be with an insecticide like Permethrin. You'll find these Bayer 25g Coopex Insecticide Sachets convenient to use. I'd recommend mixing the liquid up and placing it in a garden sprayer which can atomise it and spraying the whole piece of furniture. It would be a good idea to use a respirator or mask rated for vapours during this process.
Please let me know if you have any questions or need further assistance.