If you've never had any kind of sexual contact, including oral sex, it can't be an STD.
It could be a fungal infection, pearly penile papules (google those - it doesn't sound like what you have, but check it out anyway, just in case), or balanitis.
https://www.medicalnewstoday.com/articles/321330#potential-causes
You'll need to see your doctor to figure out what it is, and to determine the correct course of treatment. Balanitis has a few different causes - it could be bacterial in nature, or fungal, and those are very different treatments.
I'm assuming you can't wash these spots away. If you can, it's usually smegma.
Let us know what the doctor says.