If it's been there a month, it's not herpes.
If it's painful to the touch, it's not likely to be HPV.
You should see your doctor about this, though. It could be a clogged oil gland, or something else, but it's been there for a month. It's time to see your doctor and get it evaluated. It doesn't sound like an STD, but it does sound like something that needs to be treated.