Red dots on penis head

These red dots appeared on the penis head the same day I was at the beach. Could it be that my trunks caused this irritation knowing that I've been wearing them for years. Or is it something else related to sexual health?

image