Wireless Sensor Network (WSN) technology is progressing at a rapid pace and its demand is also increasing massively due to its cost-effective nature and less-challenging installation demands. However, due to its vulnerable wireless environment, WSNs are prone to various types of severely damaging attacks like wormhole, sinkhole, Denial of Service (DoS) etcetera. Therefore, it requires to be more secure and confidential to maintain the productive flow of communication between the nodes. One of the greatest threats which if placed strategically can seriously impair the network is the wormhole attack. In this paper, we proposed a cluster based technique to detect and protect WSN from wormhole attacks. The entire network is divided into clusters eventually at the end and each cluster is governed by a cluster head (CH). Based on Round Trip Time and hop count the security of the network has enhanced and nullified the wormhole attack in the network. A significant improvement in throughput, PDR, Delay has been observed and reported with proposed scheme.