Pus in the fingernail cap of the hand, i.e. peronychia, may be caused by a bacterial infection and can be treated with topical medication, oral medication or even incision to drain the pus. Peronychia is usually caused by bacterial infection, which needs to be controlled by topical medication, oral medication or even incision and drainage of pus. You can use topical antibiotic creams such as fusidic acid and oral antibiotic medications such as cefixime and ceftazidime to fight infection and reduce inflammation under the guidance of your doctor. If the symptoms are more serious and the pus is particularly large, it may be necessary to make an incision to drain the pus under the operation of a doctor, and nail extraction may also be required. At the same time, the doctor will disinfect and bandage the wound to prevent infection. Topical topical antibiotic creams such as erythromycin ointment and mupirocin ointment may also be used as prescribed by the doctor to fight infection. If you have peronychia, it is recommended that you go to the hospital in time, and the doctor will formulate an individualized diagnosis and treatment plan according to your specific condition, so as not to delay your condition.