For these bumps, herpes should be ruled out. Herpes is a virus and it spreads by contact. The contact can be due to physical contact or sexual etc. These are common ways of infection: 1] By kissing someone if u have cold, or sore throat 2] Through vaginal or anal intercourse or oral intercourse 3} during pregnancy by mother to baby at birth 5} touching the sore infected outbreak like fingers, eyes etc can also possibly pass virus.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.