Thanks for your query,
Swelling which is painful and pus inside suggests an abscess
or a boil.
You need to send pus for culture and sensitivity.
Antibiotics needs to be started for infection.
NSAID's for symptomatic pain relief.
Get your STD
profile done to rule out other infections.
Hope this helps,