Is how do yeast infections look because my penis been hurt well the head and I looked and there's white slimy stuff on it with red spots when it comes?

Male yeast infection. Usually only non-circumcised men get yeast infections under the foreskin. Pulling back the foreskin will show some "white slimy stuff" which can be yeast. If this continues, see your healthcare provider.