This document discusses the congestion control in wireless sensor networks using genetic algorithms. It presents a novel method that significantly improves congestion management, enhancing the reliability and energy efficiency of data transmission while reducing packet loss. The study shows that the proposed genetic algorithm outperforms traditional methods like LEACH in terms of reducing dead nodes and increasing the number of packets received at the destination.