Lay them flat on their back and shout for help.
Give them a sugary drink if needed.
If the person doesn't respond, dial 999 immediately.
Wait for the ambulance to arrive and stay calm.
Tell the doctor everything that has happened.