Maybe wet dreams?
Maybe infection?
It may not be sti related.
From what you are describing it is either semen leakage, or an infection.
Either way visiting a health care professional would be preferable to determine what is the white matter that is being leaked from the penis.
Regards, John.