If you are involved in an accident with your vehicle, you are obliged to stop and give your name and address to anyone who reasonably requires it. This is a legal duty on any driver involved in an accident where there is damage to property or where someone is injured. If you cannot stop and report an accident, you are required at least to report the matter to the police right away.
By failing to stop and not reporting an accident, you are committing a criminal offence (section 170 of the Road Traffic Act 1988).