Is there an over-the-counter treatment for wound infection?

Need to see a doctor. You might need a prescription for an antibiotic. In addition to this, wound care with soap and water is important.
Depends. Depends on the severity of the infection. If minor over the counter treatment will c/o soap water, antibiotic ointment and a dressing.