I think initially you developed shoe dermatitis
Then you developed secondary bacterial infection nearby the dernatitis lesion.
Take complete rest for few weeks.
Cleanse the affected area with antiseptics.
Take short course of antibiotics with anti inflammatory drugs.
Apply antibiotic cream like mupirocin
You go for blood test
to rule out DM, HIV and anaemia.
Take immunobusters to prevent recurrance of infection.
I hope you may be alright.
Still, you may consult dermatologist
Dr. Ilyas Patel MD