In-flight fires require immediate decision-making for landing. The crew (both in the cockpit and in the cabin) of each type of aircraft and each airline has its own clear procedures in case of an in-flight fire. Flight attendants try to extinguish the fire themselves, move people from the smoke-filled part of the aircraft, and prepare passengers for immediate landing.
Pilots perform all Memory Items (actions in case of an emergency situation that need to be performed by memory) and, according to the company's and aircraft manufacturer's procedures, perform necessary procedures for activating extinguishing systems or minimizing the risk of fire spread.
But ultimately, during flight, there is often no way to fully confirm that the fire has been extinguished. Without such confirmation, it is not safe to continue flying, so all instructions for such situations end with one thing - pilots must land as quickly as possible at the nearest suitable airport.
For this reason, aircraft crews are recommended to request weather information throughout the flight and be informed about surrounding airports so that they can quickly and safely approach and land if necessary.
After landing, there is another serious challenge - evacuation. This can be one of the most difficult things, and often people can receive serious injuries at this stage. However, if flight attendants' instructions are followed correctly, even this difficult stage can be completed without problems.