There is a white looking thing on my penis. I dont know if its a cyst or a pimple. Im a virgin so theres no way it can be an std. I just noticed it a couple days ago. https://imgur.com/a/QFF1kD6

You are referring to the larger bump in the middle of the base of the shaft of your penis I take it? There are several things this could be, the most common one is a blocked skin pore and this has caused a slight infection. The other common thing to occur is that a hair can begin to grow the wrong way, inwards, rather than outwardly.
The thing to do is to get yourself a small bottle of Liquid Antiseptic that is used for cuts and grazes of the skin, dab it undiluted onto the bump 2 or 3 times a day and the bump should begin to heal after 3 or 4 days.
Make sure you are keeping your personal hygiene right, shower everyday if you can, make sure your entire groin region and genitals are fully dried, use a clean dry towel that ONLY you use. Wear fresh laundered underwear every day …