In case of medical emergencies on board, flight attendants and crew members are trained to handle the situation. They may provide basic first aid and oxygen, and may also be able to access medical supplies and equipment on board the aircraft. If the situation is severe, the captain may divert the flight to the nearest airport where medical attention can be provided.