Maybe it's angiokeratoma of Fordyce.
These are usually harmless, but can sometimes indicate a more serious problem. You need to see your doctor to find out for sure if that's what you have, and rule out anything else. Only a doctor who examines you can diagnose you.
How long have you had them? Always best to get it checked out to be sure. https://www.medicalnewstoday.com/articles/321328#causes I agree that angiokeratoma or fordyce spots would be possibilities. But you can even get dark or ingrown hair follicles that look like dark spots there. Pigmentation spots happen as well. Are these new?