Cabin crew members are trained to handle medical emergencies during flights by following established procedures and protocols. They assess the situation, provide first aid and medical assistance as needed, coordinate with onboard medical professionals or ground-based medical services, and, if necessary, facilitate emergency landings to ensure prompt medical attention for passengers.