Help I popped a blackhead on my penis now it's swelling?

I assume you. Mean in the area of the blackhead, not that you have an erection. That would be important on social media, but not here. Use warm compresses on the area; keep it clean; and if it doesn't heal normally, check w/your physician.