How do handle termite/white ant Buddhism most basic perception is avoid killing.
Assume the house is filled by termite and killing is unavoidable, assume house is too badly affected and without killing need the house to be left unoccupant for months and repair is very expensive.
This is question is meant for normal lay Buddhist and not monk.
How is Buddhism handle in this case ?
There was a Mahayana Buddhist Scholar answered is to recite Mantra to the ants that been killed as much as possible n hope ants can incarnate to a better place.
Life wants to promote life. That too a very special life . A life which is free of diseases and dirt. A life which is holy. But if your house is infested with termites then probably you have karmic problems.
For example , there was a locust attack in Saudi Arabia, Africa , Pakistan , India etc ..millions of hectares of crop  got eaten by those insects. Why do you think that happened ? It was our karma in some ways.
Life would generally not interfere in your holy pursuit but if it happens then it means you may have become impure in some ways.
So what should be done? As a layperson you will obviously kill those insects for survival and if you are serious about Dhamma then you will commit to 8 fold path and never intentionally kill any insect.