To get rid of these pests, people try to use "folk remedies", starting with vinegar and ending up with formaldehyde. However, when doing so, there is a problem - the agents do not penetrate the wood as deeply as they should (only 1-2 millimetres). Some of these remedies will not harm humans; however, many methods will completely poison people's lives in an already infested house.
As a method of removing of woodworms, the old industry standards advised cutting out the damaged part and burning it! Even material with old worm holes was rejected and could not be used anymore.
Modern agents are different in their use, action, and toxicity, and they all have one thing in common - to prevent the egg-laying process! Still, there are a few pitfalls. The difficulty is that treatment is required every few years - nothing lasts forever. It is also worth mentioning the habituation of woodworms to drugs and the resistance of nature itself. But most importantly, woodboring beetles do not lay eggs on the surface but in cosy places such as cracks, corners, and wormholes. Apparently, it is physically impossible to treat in such places!
Aerosol insecticide sprays only kill pests on the surface but don't touch the gnawing woodworms inside the wood. However, sudden freezing of the infected wood or heating to 55-60°C can provide efficient results.
For low-temperature treatments, it is necessary to act quickly. Otherwise, the larvae will go into winter hibernation like flies, and they will continue with an infestation when it gets warmer. Even hard frosts do not harm them because the thermal conductivity and heat capacity of wood give the insects enough time to reproduce. Woodworms can also be killed by heating to critical temperatures. You can wrap the house in a dome on all sides and heat it for several days with special devices, but this method is very troublesome and expensive.
As a result, all the struggle against woodworms comes down to prevention, starting with wood control in order to minimise infestation, continuing with quality drying in heat chambers, and ending up with mandatory preventive insecticidal treatments.