A foul-smelling black discharge usually suggests infection or dead tissue, sometimes from an abscess or a wound that isn’t draining properly. If it hasn’t improved after 8 days of antibiotics, the dog likely needs a recheck ASAP, possibly a culture, different antibiotics, or surgical cleaning/drain placement. An e-collar is also important to stop licking and
doodle baseball scratching. This doesn’t sound like something that will resolve on its own.