IN THE UK - some clarification on the current protocols for getting help etc before/after starting CPR...
Skipping the D.R.A.B section - lets assume its safe and casualty is unconcious and not breathing.
Ideally send someone to get help (and tell them to come back to tell you they were succesful) or call from a mobile "on scene" and start CPR immediately
Where rescue breathes are not possible (facial injury, drugs/poison or general squemishness) CPR should be carried out with continuous chest compressions (like what Vinnie says!).
Adult witnessed or unwitnessed collapse NOT DROWNING
In the case of adults, for 99.9999999999999999% of the time, CPR from a first aider will not bring someone "back to life" - they need a defibrilator so getting a defib and trained person to the causalty is the priority.
So in the worst case scenario, you are on your own with no phone, you must get help immediately. NOW.
Only when the ambulance etc is on its way do you start CPR, straight into compressions, 30 compressions then 2 rescue breathes.
Adults Drowning
Check D.R.A.B (eg its safe and casualty is not breathing)
Start off by giving 5 rescue breathes
then 1 minute of CPR (30 compressions to 2 breathes after the initial 5 breathes)
Leave the casualty to get help
Return and continue CPR (30:2)
Children (all cases including drowning)
Children have a chance of starting to breathe on their own. So continuing the worse case situation, on your own no phone...
Check D.R.A.B (eg its safe and casualty is not breathing)
Start off by giving 5 rescue breathes
then 1 minute of CPR (30 compressions to 2 breathes after the initial 5 breathes)
Leave the casualty to get help
Return and continue CPR (30:2)
Seems a little strange to have a specific time to "give up", it all depends on the speed with which help can arrive, who is present, eg, lots of people can take turns and keep going for a lot longer. Of course, the "D" for danger in the DRABCDE protocol is the most important part, no use risking your own safety by giving CPR longer than you are able.
Don't stop until
a) help arrives and a paramedic etc takes over
b) casualty shows signs of recovery (breathing,coughing)
c) it is no longer safe to do so -eg you are too exhausted to carry on
if more than one person present, take it in turns for 2 minute "shifts" (approx 6 cycle sof 30:2)
Full disclosure: I'm a Scout leader with a 4 day HSE "full" qualification which qualifies me to teach the very basic "First response" course to other Scouters
My best advice is to get some training, call the local St Johns/St Andrews/Red Cross they often do community courses. (or become a Scout Leader, we teach you for free/cheap!)