Welcome to HealthcareMagic forum,
You seems to getting sebaceous cyst
,which are common on scalp
and they have a small hole pr a pore in the center...when you squeeze then you can see a yellow fluid like material coming out.If thats so ,then you need to consult a dermatologist
or a plastic surgeon who can remove it surgically .