In this paper, we propose the methodology and design an algorithm to control congestion during Secure Multiparty Computation (SMC). As per our literature serve a lot of work has been done in SMC but they have worked only the main part of the SMC, privacy and correctness. Congestion control is one of the important components for the performance of the network and also is the most challenging one. This paper deals with the way of shaping the traffic to improve quality of service (QoS) in SMC. Under the congestion situation, the queue length may become very large in a short time, resulting in buffer overflow and packet loss. So congestion control is necessary to ensure that users get the negotiated QoS. The objectives of traffic control and congestion control for SMC are: Support a set of QoS parameters and minimize network and end-system complexity while maximizing network utilization. In our paper we carried out experiments for computing the FIFO length that ensures zero packet loss for different clock rate of the router.