If you are bitten by a dog without your owner's consent, here are some things to do:

Seeking medical help
If the injury is serious, seek immediate medical attention for treatment and diagnosis by a professional doctor. Even if the wound does not appear serious, there may be risks such as infection or rabies. A doctor will be better able to assess and treat the wound.
Contact the dog owner
Contact the dog's owner as soon as possible to obtain necessary information such as the dog's vaccination records. This will help determine whether the dog has been vaccinated against rabies and can also prevent further injury to others.
Report
Depending on local regulations, you may need to report the dog bite incident to the relevant local authorities (such as animal control or health departments).
Evidence
Preserve as much evidence as possible, such as photos of the wound and medical records. These may be helpful in subsequent claims or legal proceedings.

Guidance professionals
If necessary, you may need to seek legal advice, especially if you have a dispute with the dog owner after being injured.
Self-protection
After dealing with a bite incident, ensure you remain calm when communicating with the dog owner or handling the details of the incident, and take reasonable self-protection measures as much as possible.

Whatever measures you choose to take, ensure your health and safety are your top priority. At the same time, respect the feelings of dog owners and understand that they may also be experiencing distress and anxiety.