Itching of the soles of the feet along with painful symptoms may be caused by tinea pedis secondary to bacterial infection. In this case, a hospital examination should be carried out promptly. After the fungal infection is confirmed, you should apply topical antifungal ointment such as ketofurazole or terbinafine ointment for observation, pay attention to foot hygiene in daily life, and pay attention to wearing loose and breathable shoes.