Ppp or herpes

I had unprotected anal sex with my ex (5year back) and since 3 months I can see small bumps on my penile rim .what could it be??

Well I can't really say as I'm not expert for 1 and 2 you haven't provided a picture but I recently went doctors with a penis issue and she actually said to me 'oh you have pearly penile papules' I didn't go for this as they have always been there but got more prominent as I got older, she said they are common in guys though. I'm sure a quick Google of what I mention above will put your mind at ease.

Sounds more like PPP as if it were a STD you are suspecting from something you did 5 years ago, you would have had symptoms prior to 3 months ago ...

Can u please tell how to post the photo

Nah!!! And got some spots like stuff on lips too