Hi! Many thanks for your question on eHealth forum!
The only way to be sure of diagnosis of Molluscum contagiosum is to go for a biopsy. This is not a STD actually though it can spread by genital contact. It is treated by excision or cryocautery.
Other than this the white bumps could be Fordyce spots. These are dilated blood vessels covered with skin and can heal on their own. The other possibility is pearly white papules. These are harmless swellings and disappear on their own. The third possibility is blocked sebaceous glands. These too often open up on their own.
It would help to consult a dermatologist. Hope this helps. Take care!