You may be having paronychia with an ingrown nail, a painful infection around the nail fold.
Frequent wet work can soften the skin, making it prone to infection and ingrown nails. This leads to pain, swelling, redness, and sometimes pus around the nail.
Next Steps
If pain or pus increases, you may need oral antibiotics and proper treatment.
Health Tips
Avoid wet exposure. Apply topical antibiotic cream (like mupirocin).