If both pilots are incapacitated, what happens?
How does Airbus prepare for a dual engine failure on the A320?

The short answer is this isn't something that's realistically planned for because the chance of a double-failure of the redundant systems in question (the two pilots) is pretty unlikely, and many of the conditions that could lead to it would result in a catastrophic loss of the aircraft anyway.

(The most notable exception to that would be a loss of pressurization at altitude, in which case hopefully at least one of the pilots can get their oxygen mask on to make the emergency descent.)



The ATC/Airline system as a whole can theoretically deal with this sort of a double failure in a few different ways. The most common is finding an off-duty employee of the airline who is riding non-revenue (dead-head, jumpseat, etc.) to fill the role of an incapacitated crew member.
This is of course predicated on whatever incapacitated the flight crew not affecting this other person.

If no qualified personnel are available it may be possible to get an experienced instructor on the radio to "talk the plane down", but that relies on having someone onboard who can (a) get access to the cockpit, and (b) at least figure out how to operate the radios to ask for help.
"Talk-Down Landings" have happened in small aircraft on several occasions, but as best I can determine this has never happened in a transport-category aircraft (airliner) outside of simulations and similar thought experiments.