It's likely you have Forcydes spots , very common in men on the underside of the penis. They are harmless.. As for you red spots this is a dermal issue. Neither sound like an std . STDs present sores and lesions and are constantly changing .. I wouldn't worry about this.. You can go to your doctor for your dermatitis if you need reassurance.
Randall