Foot infections can be treated with anti-inflammatory and pain relieving medications or antibiotics, and the treatment needs to be done strictly as prescribed by the doctor. When an infection develops in the foot, patients may exhibit redness, swelling, heat, and pain in the foot, which can be relieved by injections of nonsteroidal drugs such as parecoxib. In addition to pain relief, patients can also use antibiotic injections to control inflammation, inhibit foot infections, and promote symptomatic improvement, with choices such as penicillin, levofloxacin, and gentamicin. Due to individual differences, there is no absolute most effective and safest medication, it is recommended to choose the most suitable medication for yourself under the guidance of your doctor, and not to use medication without authorization. Rash, headache and other adverse reactions promptly seek medical attention, drug allergy is prohibited.