Now a day the usage of Self-Organizing Networks (SONs) is increasing, because of its broad application. Unlike common networks, the SONs have the capability of reconfiguration, whenever any defect occurs in the network. However, while routing in this network, the loss of data occurs due to its security lack. Hence many researchers have presented their research for providing secure routing in various SONs. However, the security is still an issue in the routing of SONs especially in Wireless Sensor Network (WSN). Here in this paper, a novel protocol for the secure routing of WSNs has developed. The proposed protocol is named as Trust-Distrust Protocol (TDP). As per the proposed protocol, the routing is done in four stages. The initial stage is topology management using the k-means algorithm. The second stage is Link Quality Appraisal (LQA), where the quality of every network node is evaluated. The third stage is grading, in which it is based on the LQA value and a grade point is allotted to every node in the network. In the last stage, the most secure path for the routing is determined based on the grade points. The proposed protocol is tested in one of the major kinds of SONs, like WSN using the NS2. By comparing with the existing LEACH protocol, the performance is evaluated. Ultimately the proposed protocol outperformed the performance of the existing routing protocol and suggested for rounding in SONs.