Rashes can be cause by many problems and are often complicated by secondary infections. This may be caused by contact dermatitis, allergies, bacterial infection, mites, ringworm, and flea infestation. Seek help from your veterinarian. They will run tests to rule out certain skin diseases and parasites. Treatment will be aimed at the inciting problem as well as symptomatic care to make your dog comfortable.