Red bumps on my penis. Need advice!

to give the full picture: i had unprotected sex about 6 days ago. masterbated 2 days ago, then woke up and noticed yesterday that I had a red bump on the bottom of the shaft of my penis. I left it alone and the this morning, it was still there but hadnt grown in size. i squeezed it and what looked like a black head came out. a couple hours later, noticed a new similar bump on the top right part of the shaft. neither bump hurts and they booth just look swollen. any advice?