Hello,
For folliculitis with fungal causes, antifungal agents such as ketoconazole or
ciclopirox are sometimes helpful. Apart from that you need topical and oral antibiotics, antihistamines, oral steroids and topical tretinoin. The skin condition on the penis can be due to eczema or dermatitis skin.
My sincere advice is to get it examined from a dermatologist.