The swollen lymph
node in your groin is due to the abscess
on your shaft. This abscess could be a sexually transmitted infection and that can only be confirmed after a visiting a dermatologist
. Kindly visit a dermatologist as early as possible so that an appropriate diagnosis based treatment can be started. Do not squeeze or manipulate the lesion. Just clean the area with warm saline water and apply topical antibiotic
like mupirocin( this treatment is adjunctive, it is not going to treat the abscess or lymph node swelling. A course of oral antibiotic is required )
Hope that helps. Take care.