Hi,
How are you? These could be sebaceous cysts or sometimes called epidermal cysts which is a closed sac occurring just under the skin which contains a "pasty" or "cheesy" looking substance. Although sebaceous cysts are usually found on the face, neck, and trunk, they also many times occur in the genitalia of both women and men. Sebaceous cysts are usually painless, slow-growing small bumps or lumps that move freely under the skin. It's important not to touch or try to remove the substance inside to prevent tenderness, swelling, and infection. This is often the result of swollen hair follicles, or skin trauma. They sometimes disappear on their own and are not dangerous. However, they may become inflamed and tender and grow large that they may interfere with your everyday life. When this happens, surgical removal is warranted.
It would be best to have this evaluated by your doctor for proper management. A complete medical history and physical examination are important to reach a diagnosis. Take care and regards.
Let me add I'm a 28 year old male, healthy, sexually active but always practice safe sex.