When you pull the skin back on my penis what is the white stuff that forms around the head?

Smegma. Is called smegma- accumulation of dead skin cells, skin oil and moisture, -is concerned unhealthy and not a good hygiene . It is a good ground for accumulation of bacteria, yeast etc.- clean the area with warm water and mild soap.