The painful swelling next to the finger nail is often caused by fungal, bacterial or viral infections such as nail fungus or common warts, which mainly manifest themselves as redness, swelling, pain and even purulent discharge at the nail groove. Some patients may be caused by trauma, diabetes, peripheral circulation disorders and other diseases, common treatment methods are as follows: 1, trauma: patients due to extrusion and other reasons caused by the finger nail next to the swelling and pain, within 24 hours can be cold compresses, after the external spray some swelling and pain relief drugs to improve the symptoms of finger nail next to the swelling and pain. If the pain is more intense, patients are advised to go to a regular hospital for examination to confirm the presence of bone lesions; 2. Infection: patients can be treated with topical application of mupirocin ointment, erythromycin ointment, imiquimod cream and other drugs. If there are septic symptoms, you can also choose to cut the finger epidermis for drainage. If the patient’s symptoms are more severe, oral anti-inflammatory treatment such as amoxicillin can be prescribed to relieve the swelling and pain next to the fingernail. In addition, if the swelling and pain next to the fingernail is caused by a bacterial infection secondary to ringworm, it is necessary to use not only the above mentioned medications but also antifungal medications such as clotrimazole, miconazole, etc. 3. Other: If the swelling and pain next to the fingernail is caused by a disease such as diabetes or peripheral circulation disorder, it is necessary to treat the primary disease. Generally, after the primary disease is relieved, the symptoms of swelling and pain next to the finger nail will also be relieved.