TCP uses congestion control algorithms to manage network congestion. These algorithms include slow start, which allows TCP to determine the network capacity by exponentially increasing the congestion window size each round trip time. This allows TCP to quickly find the maximum capacity without causing congestion. However, once the congestion window size reaches the slow start threshold, TCP enters congestion avoidance phase where it increases the window size more slowly to operate close to the maximum capacity without overshooting. The goal of congestion control is to maximize throughput while minimizing congestion through additive increase and multiplicative decrease of the transmission rate.