Flight attendants are trained to act as first responders to a medical emergency on a plane. They can administer CPR and perform the Heimlich maneuver. All planes are equipped with first aid kits and those carrying more than 30 passengers have defibrillators.

UCLA Newsroomn
Most times, the cabin crew will page the passengers to see if there’s a doctor onboard. In grave situations, a pilot can decide to divert and ground the plane. This usually takes about 15 minutes on domestic flights but can be more difficult on overseas trips.
Scroll on to the next page that will make you think again about your travel companions.
14. Just How Cozy Should You Get?
Travelling in a cramped cabin with pressurized air and tons of strangers is usually not a pleasurable experience. Although those ubiquitously popular neck pillows have done wonders for our relative comfort, there one thing you should NEVER do in your attempt to get cozy.

LA Times
You might want to get up every now and then to stretch your legs out, and that’s fine. Just remember to keep your shoes and socks on. Traipsing around barefoot on a plane is arguably one of the grossest things to do while traveling. People have “accidents” and injuries, and in-flight cleaning resources are limited.