Each hair follicle has a sebaceous gland, which produces sebum (the oil of the skin). These cannot be removed. It seems you have got the name wrong for some disorder. Probably you are referring to sebaceous cyst. There is no medicine to cure it. However it can be removed surgically and should be done before it gets infected otherwise the results may not be good.