UAVs or drones as an alternative solution to providing high-quality Internet service in difficult terrain are environmentally friendly and do not consume electricity during the day as is the case with communication towers. But the developers of the network face difficulties in the drone communication system associated with the need to take into consideration unpredictable weather conditions and terrain, as well as the short life of the drone's batteries. Therefore, the object of this study is the process of managing UAV traffic through the use of gNB-IoT in 5G. The possibility of using a mobile UAV repeater during traffic management using radio resources (RR), radio access network (RAN), the infrastructure with broadcasting tools and dynamic connection using MU-MIMO modulation is shown. The use of these tools makes it possible to connect the drone to the wired base network from the provider and then restore the radio frequency signal and broadcast to another coverage area where this subscriber does not have network coverage, use the channel quality indicator (CQI) representation as a QoE function. Undoubtedly, traffic management is the process of obtaining information about traffic control from one endpoint to another, which confirms the reliability and management of data transmission. Meanwhile, drone traffic management can be used to reduce time delays and remove network interference by relying on Internet of Things programs that use NB-5G technology. The UAV's traffic management improvement process uses a proposed algorithm to generate dynamic flow data management to enhance traffic processing of flow control in the IoT