give it a bath for the smell . and looks like it could be a bad ring worm out break . bath the dog with an anti fungal shampoo and treat with tinactin [ athletes foot cream ] . if it doesn't clear up get to vet and get a skin scrape done .
x 2 on the Tinactin.
Also appears that it could be a yeast infection