Deploying base stations with a massive number of antennas give birth to massive multi-input multi-output technology, which can boost the quality of the wireless communication; however, the limitations imposed by the length of the coherence interval has, directly, limited the number of the orthogonal pilot sequences (OPSs) that can be exploited for acquiring such accurate channel state information at each base station (BS). Hence, the available pilot resources are reused among several cells, which causes the problem of pilot contamination (PC). In this paper, the PC problem is analyzed, and by exploiting the large-scale fading coeffificients of the users’ equipment (UEs), we have classifified the users within each cell; therefore, the same OPS is, solely, reused by the far-distant UEs; hence, the inflfluence of the PC problem is made as small as possible. Since the UEs are subject to different channel conditions, we have consolidated our proposal by a power control algorithm, which boosts the performance of our proposal. Simulation results prove the effectiveness of our proposed decontaminating strategy.