Is this a herpes or a STD? 25 M

i have a bump on the shaft of my penis, it does not hurt or itch but does swell with white pus once in a long while. there was an ingrown hair in that area awhile ago but now theres a bump with smaller bumps around the edge if it

any idea what it is? i have not had sex in 2 years due to depression

link for photos because the file size was too large
https://imgur.com/a/nJ0Kag0

hi dylan
can you repost the photo the right way?

here are the uploaded photos

i just uploaded the photos