First of all, to prevent termites, you need to be alert about it. Hence for termites control, you need to examine by probing the exposed wood for hollow spots, and you need to be able to identify termite swarm.
Sometimes people mistake ant swarms as termite swarms. You can make your space less appealing to termites by using a concrete foundation during the construction and leaving exposure to the air gap between the wood and the soil. All the exposed wood surfaces need to be covered by a sealant or by metal barriers.