Hopefully, you will never be involved in an accident, either as a learner driver or after you have passed your driving test. The best way to avoid accidents is to adopt a safe driving attitude and follow the advice of your instructor.
However, if you are you have a legal duty to stop - even if it is only a minor bump.
The only exception to this rule is if you hit a wild animal, but the laws on cruelty to animals state that you should not cause unnecessary suffering and so it could probably be argued that you have a moral, if not legal, duty to stop in these circumstances.
If you have an accident involving injury you must inform the police. It is always a good idea to get the details of witnesses, this will help in with insurance claims or in the event of a police investigation.
There are several things that you can do to reduce further risk and save lives if you are at the scene of an accident.
What to do at a road traffic accident
It just might be that one day you are the first, or only, person to arrive at the scene of an accident, or you may be involved in an accident but uninjured. Would you know what to do?
The advice on this page is basic, simple, and can save lives. You will also find a couple of videos from the UK Open University explaining what paramedics do at the scene of an accident.
Park your car with hazard lights and/or headlights on ideally facing approaching traffic. Place a warning triangle in the road.
If there are other people who can help send them back along the road to wave traffic in order to slow it down. Take care on fast moving roads ... Other drivers might not understand what you are trying to do.
Check the scene, switch off engines, impose a no smoking ban. Keep children at a safe distance.
Send someone for help or use your mobile phone. The UK emergency number is 999 (or 112 on a mobile phone.)
Dial the emergency number and when the operator answers, state the service required.
Give the following information:
Your telephone number (if you are cut off the emergency service will be able to contact you)
The location of the incident: Road names or numbers, landmarks, map reference, sat-nav-positioning reference, etc.
Description of the incident, for example, "Motorcycle has hit a bus - the motorcyclist is not moving"
The quiet casualties are probably the worst injured. Reassure the noisy ones that help is on the way.
Simple first aid:
Don't move casualties: You may cause further injury.
Check for breathing: If the casualty is not breathing, clear the mouth (false teeth, chewing gum, sweets) very gently tilt the head back and, holding their nose, gently blow into them at five second intervals allowing the chest to exhale naturally. See the links below for detailed information and methods.
Stop bleeding: Firm pressure on a wound will stem bleeding.
Don't give casualties anything to eat or drink: This can cause complications for medics and delay life saving treatment.
Note that the information above is a very bare minimum. There are also different schools of thought on best practice - with modern thinking being that a 'hands only' chest compression method works just as well as mouth-to-mouth resuscitation.
Attend a first aid course to learn the basics of first-aid. It's easy to save lives with simple skills that can be learned in just a few hours.
Stay calm - stay safe!
Legal and other advice
The UK Highway Code, Rule 286, states:
If you are involved in a collision which causes damage or injury to any other person, vehicle, animal or property, you MUST stop
give your own and the vehicle owner's name and address, and the registration number of the vehicle, to anyone having reasonable grounds for requiring them
if you do not give your name and address at the time of the collision, report it to the police as soon as reasonably practicable, and in any case within 24 hours