Accidents can happen, especially with younger dogs or dogs that are not fully housebroken. It's important to clean up any messes immediately and to use a pet-safe cleaning solution. You should also let the dog's owner know what happened so they can address any potential health issues.