The failures resulting from cells outages or the partial loss of communications infrastructures make it impossible to serve users in the affected area. Such services would allow them to establish communication in order to get help or provide additional information about the situation to the emergency services. To solve this problem, a compensation method based on a drone deployment is proposed to be used in emergency situations. The proposed algorithm determines the position and power configuration of the drones to cover the affected area. To test and evaluate the effectiveness of the system, the throughput offered in the network after the deployment of the drones is analyzed and compared with a uniform distribution of drones.