That is a tough situation. It is good of you to want to help the dog. If you don't take it maybe you could help get it to a groomer or maybe a vet for its ears as they sound infected.