A sudden collapse is frightening, but a clear routine helps you act.
Danger, response, airway, breathing
Check it is safe, check for a response, open the airway by tilting the head and lifting the chin, then look, listen and feel for normal breathing for no more than ten seconds.
If they are breathing
Place them in the recovery position and keep checking until help arrives.
If they are not
Call 999, start chest compressions and send someone to fetch a defibrillator if one is nearby.