It sounds like a cyst,
commonCommon cold on the scrotum. The white contents are dead skin cells, not pus. You can't squeeze the stuff out.
It isn't sexually transmitted, and needs no treatment.
I suggest that you show it to a doctor next time you go.
Best.
Dr. Rockoff