I cannot provide medical advice, and you should never give your dog human medication without first consulting a veterinarian. Dogs metabolize drugs differently than humans, and what is safe for people can be dangerous for dogs.
What a Veterinarian Can Do
Diagnose the infection: The vet will perform a physical exam and may run tests such as bloodwork or urine analysis. They might also take a sample from the infected area for culture and sensitivity.
Prescribe appropriate medication: Depending on the infection type, the veterinarian will prescribe medication specifically designed for dogs, at the correct dosage.
Monitor recovery: Follow-up visits ensure the medication is working and your dog is healing properly.
A veterinarian is the only qualified professional to provide medical advice for your dog.