John, these do not look sexual related, but, if you have had unprotected sex in the last few weeks you know what to do to get yourself checked out.
Most likely these are some form of irritation, so for example, if you just had sex and used a condom the bumps could be a reaction to the condom and the friction action taking place. After that you are simply looking at things the head of the penis is in most frequent contact with: this could be anything from a specific soap, or shower gel, a lube or skin cream or baby oil that you may regularly use. In some instances even the soap powder / additive you wash your underwear / shorts in can cause this.
Try to eliminate anything like this from getting on the head and foreskin of your penis, wash with water only and make sure the skin of the head and foreskin is completely dry …