Possibly contracted herpes

i noticed these bumps a few weeks ago and didnt think it was anything other than razor bumps until it didnt clear up after becoming worried i checked the rest of my body and noticed this rash on my lower right butt cheek. They have not grown or have any kind of liquid or puss. I have nothing abnormal on my penis or scrotum. Nothing itches no pain and the bumps are not raised to the touch. The rash on my groin is the opposite of the one on my butt. I will also note the groin rash was not that red until i shaved again today. This doesnt look like other images of herpes i have seen on the internet but i am extremely stressed out. Thanks in advance.

Hi, your second picture is out of focus but I would say it looks more like folliculitis. It can be causes by bacteria or yeast (and spread).

I think herpes would hurt a lot more.

You need to keep the area clean and dry. You can clean it with Peroxide and and apply an antifungal treatment. Stop shaving until it resolves.