Pearly lumps on foreskin. Should I be worried? How serious is it?

Recently I have seemed to have grown multiple pearly lumps on my penial foreskin. I haven't noticed it until I felt the lump growing bigger. I haven't had sex with my gf for over two weeks but was masturbating daily. Is this sign of an STD or something related to masturbation?