Its owner might not live near you. Or you might not know who owns it. So take the animal home with you. Keep it until the owner comes looking for it. Then give it back to them.
Suppose you see your neighbor’s donkey or ox that has fallen down on the road. Then don’t act as if you didn’t see it. Help the owner get it up on its feet again.