Is it herpes ?

Guys three months ago i had un protected oral from a someone.
suddenly 2 hours after the intercourse i had infection on my penis glans.
i tested for STDs but no result for any major infection.
doctor gave me t-bact and everything returned to normal.

l have been noticing after l masterbate l get pimples which formed like this.

https://imgur.com/gallery/g7V3Z8i