Dermatology Questions? Ask an Online Dermatologist.
Pimples, and larger infections such as boils or abscesses are common in the groin area. This is especially true if you shave the area. Hairs can get ingrown. Either way, if there is pus coming out it signifies an infection. Draining it and using hot compresses will often lead to resolution, but larger ones may require antibiotics or surgical drainage. I would suggest you have it examined by your family doctor if it does not dry up after drainibg it.
If you had a complete STI work up and all your tests were normal, this is likely a common abscess from an ingrown hair or a small abrasion or insect bite. It should respond well to drainage, warm compresses and antibiotics.
No. The pictures don't tell the whole story, of course, but they do not appear to show warts or herpes.