The answer to 'how to prevent termite' is to take proactive steps to make your home less attractive to these wood-destroying insects. This includes eliminating wood-to-ground contact, repairing any moisture issues, and using termite-resistant building materials where possible.
Start by inspecting your home's exterior and foundation for any cracks or gaps that could allow termites to enter. Seal these up with a silicone-based caulk or other appropriate sealant. Ensure that there is no direct wood-to-ground contact, as this provides easy access for termites. Consider using a gravel or stone barrier around the home's perimeter. Proper drainage and ventilation can also help reduce moisture levels that termites thrive in.